mac lock screen shortcut keyboard code example Example: shortcut key to lock mac screen CTRL + CMD + Q