First, fire up Settings by pressing Windows+I on your keyboard. On the main Settings page, click “Network & Internet.”
On the Network & Internet page, on the left-hand side, click “Mobile hotspot.”
On the right-hand side, turn on the “Share my Internet connection with other devices” switch. If you want something other than the default network name and password, click the “Edit” button.
In the Edit window, type whatever network name and password you want to use and then click “OK.”
Source:
https://www.howtogeek.com/214080/how-to-turn-your-windows-pc-into-a-wi-fi-hotspot/