Black Friday 76% off Levers, until 5 December
More apps from us

Guide

How to lock the screen on a Mac

Atta 🐬

Maker of Levers

Updated

Quick answer

Press Control-Command-Q, or choose Apple menu › Lock Screen. On a Mac or Magic Keyboard with Touch ID, press Touch ID. The login screen comes up at once, your apps keep running, and you unlock with your password, Touch ID or Apple Watch.

Levers locks your Mac, or turns its screens off, with one click from the menu bar.

How to lock your Mac

  1. 1

    Press Control-Command-Q.

  2. 2

    Or choose Apple menu › Lock Screen.

  3. 3

    Or press Touch ID, on a Mac or Magic Keyboard that has it, or the Lock Screen key on a Magic Keyboard that has one.

  4. 4

    To unlock, press any key and type your password, or use Touch ID or your Apple Watch.

Locking isn’t sleeping or logging out: everything you had open is there when you unlock.

Locking puts the login screen over everything, so no one can use your Mac while you’re away, and your apps carry on underneath. There are several quick ways to do it, a setting that locks the Mac for you when the screen turns off, and a way to turn the screens off without sleeping the Mac.

Ways to lock a Mac or turn the screen off

WayLocks the MacTurns the screens offApps keep running
Control-Command-Q Yes No Yes
Apple menu › Lock Screen Yes No Yes
Touch ID Yes No Yes
Control-Shift-Power, or pmset displaysleepnow If a password is required immediately Yes Yes
Levers’ Lock Screen Yes No Yes
Levers’ Sleep Displays If a password is required immediately Yes Yes

Yes Partly No

How to require a password after sleep or the screen saver

A Mac that turns its screen off or starts the screen saver can lock itself as well. Set how soon it asks for a password:

  1. Choose Apple menu › System Settings, then click Lock Screen in the sidebar.
  2. Next to Require password after screen saver begins or display is turned off, choose Immediately, or how long it may wait.
  3. On the same page, Start Screen Saver when inactive and Turn display off when inactive set when those happen by themselves.

Choose Immediately if you turn the screen off yourself to step away: then the Mac is locked the moment the screen goes dark.

How to lock a Mac with a hot corner

Open System Settings › Desktop & Dock, click Hot Corners…, and choose Lock Screen for a corner. Moving the pointer into that corner locks the Mac. Put Display to Sleep is in the same menu.

How to turn off the screen without sleeping the Mac

On a built-in keyboard without Touch ID, press Control-Shift-Power: the displays sleep, and everything else carries on, downloads and music included. Move the mouse or press a key to wake them.

On any Mac, this Terminal command does the same. It doesn’t need a password:

pmset displaysleepnow

A screen that is off isn’t locked unless Lock Screen settings ask for a password immediately after the display is turned off.

Is locking the same as sleep or logging out?

No. Locking leaves you logged in with every app running, behind the login screen. Sleep pauses the Mac to save power, and asks for your password on waking if Lock Screen settings say so. Log Out quits your apps. To step away for a few minutes, locking is the one to use.

Or lock it with one click in Levers

We make Levers.

Levers sits in your menu bar with two switches for this. Lock Screen locks your Mac at once, as Control-Command-Q does. Sleep Displays turns the screens off while your apps keep running; it waits a second first, so the hand that clicked doesn’t wake them again.

  • Lock Screen
  • Sleep Displays
  • Lock or screens off from the menu bar, without remembering the keys
  • Sleep Displays on any Mac, not only on keyboards with a power button
  • A shortcut of your own for either, if you’d like one

Good to know

  • Levers doesn’t change how soon your Mac asks for a password. That’s in System Settings › Lock Screen.
  • Needs macOS 15 Sequoia or later.
  • One payment, no subscription, with a 14-day refund.

Questions people ask

What is the shortcut to lock a Mac?

Control-Command-Q. On a Mac or Magic Keyboard with Touch ID, pressing Touch ID locks it too.

How do I lock my Mac without the keyboard?

Choose Apple menu › Lock Screen, or set a hot corner to Lock Screen in System Settings › Desktop & Dock › Hot Corners.

Does locking a Mac stop downloads and apps?

No. Locking only puts the login screen in front. Downloads, music and every app keep running until you unlock.

How do I make my Mac ask for a password after sleep?

In System Settings › Lock Screen, set “Require password after screen saver begins or display is turned off” to Immediately, or to how long it may wait.

How do I turn off my Mac’s screen but keep it running?

Press Control-Shift-Power on a built-in keyboard without Touch ID, or run pmset displaysleepnow in Terminal. The displays sleep and everything else carries on.

Is there an app that locks my Mac from the menu bar?

Yes. Levers locks your Mac, or turns its screens off while your apps keep running, with one click from the menu bar. It costs from $6.99, paid once.

More guides