MainspringGuides › Lock Screen Fast
macOS Guide

How to Lock Your Mac Screen Instantly (Shortcut + Menu)

Updated July 2026 · 3 min read

The shortcut is ⌃⌘Q — Control-Command-Q — and it locks your Mac the instant you press it. Your apps keep running, music keeps playing, and nobody gets past the login screen. Here's the shortcut, its companions, and the one setting that decides whether 'locked' actually means locked.

The shortcut: Ctrl-Cmd-Q

Press ⌃⌘Q anywhere, in any app. The screen cuts to the lock screen immediately — no animation to wait out, no grace period. Everything stays running in the background: downloads continue, calls stay connected, unsaved documents stay open. It's a lock, not a logout.

Mind the neighbors: ⌘Q alone quits the current app, and ⇧⌘Q starts a logout, which closes everything. If you're teaching your fingers the lock shortcut, the Control key is the part that matters.

The same command lives at Apple menu → Lock Screen — same effect, and a useful reminder of the shortcut, printed right beside it.

Make sure locked means locked

One setting decides whether the lock takes effect instantly or after a delay:

  1. Open System Settings → Lock Screen.
  2. Set Require password after screen saver begins or display is turned off to Immediately.

With a longer value like "after 5 minutes," anyone who wiggles the mouse within that window is straight back in your session — which quietly defeats every trick on this page. ⌃⌘Q itself always requires the password regardless, but the display-sleep and hot-corner methods below rely on this setting. Immediately is the value that makes them all equivalent.

More ways to lock

Locking vs sleeping

⌃⌘Q locks the screen but leaves the machine awake — right for anything running in the background. ⌥⌘ + power (or Apple menu → Sleep) puts the whole Mac to sleep — better for battery when you're leaving for hours. Both land on the same login screen; the difference is what happens behind it.

Shared Mac? Lock to the login window instead

On a Mac other people also use, there's a better variant: fast user switching. Turn it on in System Settings → Control Center → Fast User Switching (show it in the menu bar or Control Center), and the menu's Login Window… command locks your session exactly like ⌃⌘Q — but leaves the user list on screen so a colleague or family member can log into their account without disturbing yours. Your apps keep running in the background the whole time. It's the difference between "locked, come back later" and "locked, but the machine is still usable" — the right default for kitchen-table and lab Macs.

Lock down the rest

Hot corners, screen saver timing, login window tweaks — Mainspring collects 90+ hidden macOS settings like these into labelled, reversible toggles you can flip in seconds.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Skip the password on the way back

Locking constantly is only sustainable if unlocking is instant. If you wear an Apple Watch, your Mac can unlock the moment you sit down — here's how to unlock your Mac with your Apple Watch.