How to Allow or Disable Device Wake Permissions on Windows 11
Take charge of what triggers your computer to wake up or go to sleep.

The biggest advantage of putting your Windows 11 computer to sleep is that you can resume your work anytime using a device that's allowed to wake your computer. But first you need to configure which devices are allowed to do that.