Windows: Disable Sleep Button
Press ❖ Window and type “Control Panel” to launch it.
![Windows 10 Control Panel 2021-05-08](i/Windows_10_Control_Panel_2021-05-08.png)
Click on “Power Options”.
![Windows 10 Power Options 2021-05-08](i/Windows_10_Power_Options_2021-05-08.png)
Click on “Show additional plans”, then click on “change plan settings”.
![Windows 10 edit power settings 2021-05-08](i/Windows_10_edit_power_settings_2021-05-08.png)
Click on “Change advanced power settings”.
![Windows 10 disable sleep button 2021-02-20](i/Windows_10_disable_sleep_button_2021-02-20.png)
Using Microsoft PowerToys to Disable Sleep Key
If the sleep button does not show in the Power Options dialog, you can use Microsoft PowerToys to disable it.