Lock the screen in macOS
SystemMacCtrl+Cmd+Q⌃⌘Q
On Mac, press Ctrl + Cmd + Q.
Ask your agent
Prompt
In macOS, the shortcut to "Lock the screen" is Ctrl+Cmd+Q on Mac. Check whether anything in my setup overrides it, and if I want a different key, change the binding for me.
Paste into Claude Code and it will do the rest.
Related macOS shortcuts
- Log out of macOS accountShift+Cmd+Q⇧⌘Q
- Open screenshot and screen recording toolsShift+Cmd+5⇧⌘5
- Take a screenshot of entire screenShift+Cmd+3⇧⌘3
- Use or exit full screenCtrl+Cmd+F⌃⌘F
- Invert screen colorsCtrl+Option+Cmd+8⌃⌥⌘8
Lock the screen in other apps
- ChromeOS (Chromebook)Search+LSearchL
Questions
On Mac, press Ctrl + Cmd + Q.