Hi, and thanks for reaching out. My name is Bernard a Windows fan like you. I'll be happy to help you out today.
This problem actually occurs when there is a problem with your power options, kindly follow the steps below and I hope this helps.
Method 1. Restore default power options
-Press the Windows key + R then type:
powercfg -restoredefaultschemes
-Restart the PC and check.
Method 2. Run power troubleshooter
- Press the Windows key + R then type:
msdt.exe /id PowerDiagnostic
- Click OK then follow the prompts to run the power troubleshooter
-Restart the device after
Method 3.
Open Control Panel> Click Hardware and Sound > Click Power Options> then click Choose what the power buttons do > Click Change settings that are currently unavailable> Check Sleep (or uncheck then check it again)
Click Save Changes then restart.
Method 4. Do clean boot:
A “clean boot” starts Windows with a minimal set of drivers and startup programs so that you can determine whether a background program is interfering with your game or program.
- In the search box on the taskbar, type msconfig and select System Configuration from the results.
- On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all.
- On the Startup tab of System Configuration, select Open Task Manager.
- Under Startup in Task Manager, for each startup item, select the item and then select Disable.
- Close Task Manager.
- On the Startup tab of System Configuration, select OK. When you restart the computer, it's in a clean boot environment.
Troubleshooting reference: https://support.microsoft.com/en-us/topic/how-t...
Let me know how it goes and I hope that helps.
Bernard