The fastest ways to lock your Mac right now

You can lock your Mac in seconds using Control+Command+Q, which is the quickest keyboard shortcut. If you prefer the mouse, click the Apple menu in the top-left corner, then select "Lock Screen" from the dropdown. Both methods when ready show your login screen and require your password to unlock—nothing you were doing stays visible to anyone who walks by.

A third option is to set your Mac to lock automatically after a period of inactivity. This happens through System Settings under "Lock Screen," where you can choose to require a password after 5 seconds, 1 minute, 5 minutes, or longer. Many people combine this with a manual lock for extra security when they step away from their desk.

Key Takeaways

  • Control+Command+Q locks your Mac when ready and is faster than using the menu.
  • Your Mac can lock automatically after a set time of inactivity, which you configure in System Settings under Lock Screen.
  • You can also create a hot corner—a screen corner you move your cursor to—that locks your Mac when you touch it.
  • Locking your Mac hides your work and requires your password to resume, but does not shut down your computer or close your applications.

Using the keyboard shortcut

The keyboard shortcut Control+Command+Q is the fastest method because your hands are already on the keyboard. Hold down Control and Command together, then press Q. Your screen will go black or show your lock screen within one second. This works on any Mac running macOS 10.5 or later.

If this shortcut does not work on your Mac, check System Settings to confirm it has not been changed. Open System Settings, go to "Keyboard," then select "Keyboard Shortcuts." Look for "Lock Screen" in the left menu and verify the shortcut is set to Control+Command+Q. If it shows a different combination, you can click it and type the keys you want to use instead.

Locking through the Apple menu

Click the Apple menu (the symbol) in the top-left corner of your screen. A dropdown menu appears with several options. Look for "Lock Screen" and click it. Your Mac will lock when ready. This method takes slightly longer than the keyboard shortcut but works if you prefer using the mouse or cannot remember the keyboard combination.

On some older versions of macOS, the option may be labeled "Sleep" instead of "Lock Screen." Sleep puts your Mac into a low-power state and also requires your password to wake it, so it serves the same purpose for security. If you see "Sleep" but not "Lock Screen," that is the correct option to use.

Setting up automatic lock after inactivity

Open System Settings and click "Lock Screen" in the left sidebar. You will see a dropdown menu labeled "Turn display off after" with options ranging from 5 seconds to 1 hour. Choose how long your Mac should wait before locking itself when you are not using it. A shorter time (like 5 or 15 minutes) is more find if you work in a shared space; a longer time is more convenient if you step away briefly.

Below that option, you may see a checkbox for "Require password when ready after sleep or screen saver begins." If you turn this on, your Mac will ask for your password the moment the screen goes dark, even if you set the inactivity timer to 1 hour. This adds an extra layer of security and is worth enabling if you handle sensitive information.

Creating a hot corner to lock your Mac

A hot corner is a screen corner that triggers an action when you move your cursor to it. You can set one to lock your Mac when ready. Open System Settings, click "Desktop & Dock" in the left sidebar, then scroll down and click "Hot Corners." A small window opens with four corners labeled.

Click the dropdown for any corner (top-left, top-right, bottom-left, or bottom-right) and select "Lock Screen." Now whenever you move your cursor to that corner, your Mac will lock. This is useful if you want a physical gesture to lock your computer without typing a shortcut. You can set multiple corners to different actions or leave some blank.

What happens when your Mac is locked

When your Mac is locked, the login screen appears and your password is required to unlock it. All your open applications and windows stay running in the background—they do not close. When you unlock your Mac, everything returns to exactly where you left it. This is different from shutting down, which closes all programs and turns off your computer.

While your Mac is locked, no one can see what you were working on, access your files, or use your applications. However, they can still restart your Mac or force it to shut down using the power button. If you need stronger security, you can set your Mac to require a password on wake-up, which you control in the same Lock Screen settings.

Troubleshooting lock screen problems

If your Mac does not lock when you use the keyboard shortcut, first check that you are pressing Control+Command+Q correctly. Control is the key with the ⌃ symbol, and Command is the key with the ⌘ symbol. Both must be held down at the same time before you press Q. If it still does not work, restart your Mac and try again.

If the Apple menu does not show a "Lock Screen" option, your Mac may be running an older version of macOS. In that case, use the keyboard shortcut instead, or click the Apple menu and select "Sleep" to lock your screen. You can also check your macOS version by clicking the Apple menu and selecting "About This Mac" to see if an update is available.

Frequently Asked Questions

Does locking my Mac close my open applications?

No. Locking your Mac keeps all applications running in the background. When you unlock it, your windows and documents return exactly as they were. Only your screen is hidden from view.

Can I lock my Mac if I forgot the keyboard shortcut?

Yes. Click the Apple menu in the top-left corner and select "Lock Screen." You can also set a hot corner in System Settings under "Desktop & Dock" so you never have to remember a shortcut.

What is the difference between locking and sleeping my Mac?

Locking hides your screen and requires a password to see it again, but your Mac stays powered on. Sleeping puts your Mac into a low-power state and also requires a password to wake it. Both protect your privacy, but sleeping uses less energy.

Will my Mac lock automatically if I do not touch it?

Only if you set it up in System Settings under "Lock Screen." By default, your Mac will not lock on its own. You must either lock it manually or configure an inactivity timer.

Can I change the keyboard shortcut for locking my Mac?

Yes. Open System Settings, go to "Keyboard," then "Keyboard Shortcuts," and find "Lock Screen" in the left menu. Click the current shortcut and type the keys you want to use instead.