Open the registry: win+R, enter regedit, find

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power,

You should be able to see a value of AwayModeEnabled, right click to delete it. If you want to go back, you can go back to the operation.