Windows: Disable Sleep Button
Press đȘ Windows+s, then type âControl Panelâ to launch it.
Click on âPower Optionsâ.
Click on âShow additional plansâ, then click on âchange plan settingsâ.
Click on âChange advanced power settingsâ.
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.