The fastest ways to lock your Mac right now
You can lock your Mac in three seconds using Control + Command + Q, which puts your screen to sleep and requires your password to wake it. If you prefer the trackpad, press Control + Shift + Power (or Control + Shift + Eject on older Macs) to lock when ready without sleeping. A third option is to click the Apple menu in the top-left corner, hold down the Option key, and select Lock Screen — this takes longer but works the same way.
All three methods do the same thing: they blank your screen and require you to type your password before anyone can use your Mac. The keyboard shortcuts are fastest if you use your Mac at a desk. The menu option is easiest to remember if you rarely lock your screen.
Key Takeaways
- Control + Command + Q is the quickest keyboard shortcut to lock your Mac and is the same across all recent macOS versions.
- Your Mac will not lock automatically unless you turn on a sleep timer in System Settings, so you need to lock it manually before you step away.
- A locked Mac still uses power and can receive messages and calls — it only prevents someone from using the keyboard and trackpad.
- If you forget your password, you can reset it using your Apple ID or a recovery key, but the process takes time and requires planning ahead.
Using the Control + Command + Q shortcut
This is the standard Mac lock shortcut and works on every recent macOS version. Hold down Control and Command at the same time, then press Q. Your screen will go black, and you will see the login screen appear after a moment. Type your password and press Enter to unlock.
The reason this shortcut works is that it actually puts your Mac to sleep while keeping the password lock active. Your Mac will not wake up from keyboard or trackpad input — only from moving the mouse or pressing a key will it show the login screen, and you must enter your password before it responds to anything else.
Using Control + Shift + Power to lock without sleep
If you want to lock your Mac without putting it to sleep, use Control + Shift + Power instead. This locks the screen when ready but leaves your Mac running and ready to respond. On older Macs with an Eject key instead of Power, use Control + Shift + Eject.
This method is useful if you are running a long task in the background and do not want to interrupt it. Your Mac will continue to read files, process video, or run other programs while the screen is locked. The downside is that your Mac uses more power than it would if it were asleep.
Locking through the Apple menu
Click the Apple logo in the top-left corner of your screen. A dropdown menu will appear. Hold down the Option key on your keyboard — the menu will change and you will see Lock Screen appear where Sleep normally is. Click Lock Screen.
This method is slower than the keyboard shortcuts but does not require you to remember a combination. It also makes it clear what you are doing, which can be helpful if you are new to Mac or if you are teaching someone else how to lock their screen.
Setting up automatic lock after a period of inactivity
You can tell your Mac to lock itself after you have not used it for a set amount of time. Open System Settings (the gear icon in the Dock or the Apple menu). Click Lock Screen in the left sidebar. Look for the option that says Start after [X] minutes of inactivity and set it to a time that works for you — five minutes is common for shared or public computers, 15 or 30 minutes for home use.
Once you turn this on, your Mac will lock itself if you walk away and forget. This is especially useful if you work in an office or anywhere else where someone could sit down at your desk while you are gone. The timer resets every time you use the keyboard or trackpad, so normal work will not trigger the lock.
What happens when your Mac is locked
A locked Mac shows only the login screen. No one can open files, run programs, or see what is on your screen without typing your password. However, your Mac will still receive email, messages, and phone calls — notifications will appear on the lock screen, and someone could read them without unlocking the computer.
If you want to hide notifications from the lock screen, go to System Settings, click Notifications, and turn off Show on lock screen for any app where you do not want messages visible. Your Mac will still receive the notifications, but they will only appear after you unlock.
Troubleshooting when the lock shortcut does not work
If Control + Command + Q does not lock your screen, check whether a full-screen app is running — some programs like video games or presentation software override the shortcut. Press Escape or click the green button in the top-left corner to exit full-screen mode, then try the shortcut again.
If the shortcut still does not work, try the menu method instead: Apple menu, hold Option, click Lock Screen. If that also fails, restart your Mac. A restart clears temporary settings that might be blocking the lock function. After restart, the shortcut should work normally.
Frequently Asked Questions
Can someone unlock my Mac if they know my password?
Yes. A locked screen only prevents someone from using your Mac without your password — it does not encrypt your files or prevent access to your data if they know the password. If you want to protect your files from someone with physical access to your Mac, you need to turn on FileVault encryption in System Settings under Security & Privacy.
Does locking my Mac save power?
Locking with Control + Command + Q puts your Mac to sleep, which uses very little power. Locking with Control + Shift + Power keeps your Mac awake and uses normal power. If you want to save the most power, use Control + Command + Q or manually put your Mac to sleep by clicking Apple menu and selecting Sleep.
What if I forget my password?
You can reset your password using your Apple ID. At the login screen, click the question mark icon or wait for a prompt to appear, then follow the steps to reset using your Apple ID. If you do not have an Apple ID set up, you will need to use a recovery key that was created when you first set up your Mac — if you do not have that, you will need to contact Apple Support.
Can I lock just one user account while leaving others logged in?
No. Locking your Mac locks the entire computer, not just your user account. If another person is logged in on a different account, they will need to enter their own password to unlock. To switch between accounts without locking, use Command + Q to log out of your account, which will show the login screen for the next person.
Will my downloads continue if I lock my Mac?
Yes, if you use Control + Shift + Power to lock without sleeping. If you use Control + Command + Q, your Mac goes to sleep and downloads will pause. To keep downloads running while locked, use Control + Shift + Power instead, or go to System Settings and turn off sleep for the display while keeping the Mac awake.