Com um script AutoHotkey , você pode remapear o Win + < Atalho kbd> L e crie outro para Sleep (eu escolhi Win + S , normalmente não usado a menos que você use o OneNote):
#l:: ; Win+L
Shutdown, 0 ; this is the code for Log Off
return
#s:: ; Win+S
DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0) ; DLL call to sleep
return
Há mais detalhes sobre a chamada DLL no arquivo de ajuda do AutoHotkey:
; Call the Windows API function "SetSuspendState" to have the system suspend or hibernate.
; Windows 95/NT4: Since this function does not exist, the following call would have no effect.
; Parameter #1: Pass 1 instead of 0 to hibernate rather than suspend.
; Parameter #2: Pass 1 instead of 0 to suspend immediately rather than asking each application for permission.
; Parameter #3: Pass 1 instead of 0 to disable all wake events.
DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)