Hello there, I'm Gopal an Independent Advisor. I will try my best to help you.
It is due to an misconfigured power plan. Please try to restore the default power plan
Open the Start menu, search for Command Prompt, and click Run as administrator.
Select Yes in the User Account Control prompt.
In the Command Prompt window, type the following command and press Enter:
powercfg -restoredefaultschemes
Your power plans should now be reset.
If the issue persists, try the below steps
Press the Windows key + R simultaneously to open the Run box.
Type regedit in the Run box and press Enter.
On the Registry Editor screen, navigate to the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
On the right pane, double-click the NoClose entry.
Set NoClose’s Value data to 0 (zero) and click OK.
Restart your computer.
I hope this will help you to sort out the issue. Please let me know if you need further assistance. Thank you!
Regards
Gopal