I'm using Ubuntu 20.04 on ThinkPad x230, W540, T440p, etc.
Sometimes (appears randomly) after a reboot, I try to click on "Turn on WiFi hotspot..." under WiFi settings, but it is greyed out and when I hover over it, it says "System Policy prohibits use as a hotspot".
Why is this?
reported here, try switching to another settings panel (ie "Network") and then back, it seems to enable the option again for most.
It's only periodically disabled; to re-enable simply click on the "Network" in the left pane - making sure the OS realises you have a network connection. Then go back to WiFi and voila you have the ability to create a WiFi HotSpot. You don't have to create a separate network for this.
This is also happened in my machine as well. So what I did is I have created hotspot network and connected via hidden network. For that, Normal wifi setting will not give this setup. So follow these instructions 1.
Press alt+f2
2.You will see a popup window where you need to type follow command to get wifi setting window3.You need to press + icon to create a hotspot network
4.After that, You have to select WIFI option

You need to change the mode to hotspot and SSID as you prefer
Save the setting then open wifi setting
Click connect to hidden network
Select your network which you have created