how to change screen lock hotkey on mac code example Example: shortcut key to lock mac screen CTRL + CMD + Q