🧰 AutoHotkey v2

Lock Workstation Hotkey

Win+L already locks Windows, but this adds Ctrl+Alt+L as a backup binding for keyboards where Win+L is remapped or blocked.

By WindowsScripting.com · 335 B
LockWorkstationHotkey.ahk
; ============================================================
; LockWorkstationHotkey.ahk
;
; Ctrl+Alt+L locks the workstation, as a backup to Win+L.
;
; Requirements: AutoHotkey v2 (https://www.autohotkey.com/)
; ============================================================

#Requires AutoHotkey v2.0

^!l::DllCall("LockWorkStation")