However, I have not been able to find it. Maybe there is an easier (non-regedit) way of doing this. Restart your computer to apply these changes to your system. “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power“ Here's how (only for Windows 10 versions below 2004): The solution is to disable connected standby. It is because the system is configured to use Connected Standby as the sleep mode (Connected Standby is similar to how smartphones work: they go into a low-power mode, but there is still some processing possible).
I found the solution to this problem here: