Skip to main content

How to lock a Mac

Here's 3 easy ways to lock your Mac

how to lock a mac
Image used with permission by copyright holder
A lock screen requires you to enter a password or code to resume using the computer. While Apple’s mobile devices offer plenty of lock screen options, MacBooks are only starting to catch up with features like TouchID or Apple Watch. A Mac will lock down automatically if you close the lid, but figuring out how to lock it when you’re only stepping away for a moment isn’t as intuitive as you’d think.

Fortunately, there are ways to enable your lock screen and control it with shortcuts and commands. Don’t worry about stepping away from your Mac ever again! Just follow our guide and learn how to lock a Mac.

Recommended Videos

Set a password lock

Some Mac devices don’t automatically lock when you put them to sleep. All someone has to do is tap a key, and the computer will pop back on again. This can be a problem if you don’t regularly log out but still want to protect your data! To solve the problem, you have to turn your sleep screen into a lock screen. Fortunately, this is an easy change to make — here’s what to do.

Image used with permission by copyright holder

Step 1: Start by going to System Preferences. You can either search for it, or go to your Apple Menu and select the gear icon.

Step 2: From here select Security & Privacy. When this window opens, make sure that you are in the General section, which should be the first tab.

Step 3: The first section in General is all about your passwords. You will see several checkboxes that can be checked here. The first option says “Require password after sleep or screen saver begins.” Choose this option.

Step 4: There’s a dropdown menu that allows you to choose when the lock function engages, anywhere from a few seconds to eight hours. Choose the option that makes the most sense for you—for example, if your screensaver frequently comes on while you’re thinking, you may want the lock screen to wait several seconds before engaging. If you want an immediate lock screen, then choose the “Immediately” option. There you go!

Since this lock also affects screensavers, you may want to pay a visit to your screensaver settings and make sure that they are acceptable, with the knowledge that you will have to type in your password every time it turns on.

In addition, if you try to make any other changes to your passwords, including changing the time or turn the lock screen off, you’ll need to input the password. Only try this if you know the password for the profile that you’re on.

Use shortcuts

MacBook Keyboard
Image used with permission by copyright holder

Now you’ve turned on the lock screen for your computer! But do you want to make things even easier? There are shortcuts that can help out if you don’t want to manually put your Mac to sleep every time you leave it. This can be handy if you are jumping up to run to the bathroom, but still want to be safe (and you don’t have a MacBook where you can just shut the lid).

The shortcut for putting your Mac to sleep is Control, Shift, and the Power Button. If you have an older MacBook or Mac keyboard, you can use hold Control, Shift, and the Media Eject button. Hold these three keys down, and your computer will immediately slip into its sleep state.

If you like this shortcut, practice it a bit, and start using it when you get up. But be careful! Other similar shortcuts will automatically quit all your apps or shut down your Mac. You don’t want your fingers to slip and find out you just lost work.

Lock individual documents

Image used with permission by copyright holder

If you are seriously worried about someone messing with your work, you can go a step further and lock individual documents. Right click on any specific document, and choose Get Info. This will bring up a window with a number of options for changing the document. If you want to make it read-only, select Locked.

If you want to lock an open document, right click the document title at the top of the window instead. If you want to change permissions, go to Share & Permissions, and choose which profiles can change the document. There are other ways to protect documents, but this is one of the simplest if you are short on time.

Tyler Lacoma
Former Digital Trends Contributor
If it can be streamed, voice-activated, made better with an app, or beaten by mashing buttons, Tyler's into it. When he's not…
The MacBook Air just got a surprise upgrade that everyone will love
The MacBook Air on a white table.

Apple announced an unexpected change to the current M2 and M3 MacBook Air today: more memory. Alongside the overarching bump to RAM in base configurations of the M4 iMac, Mac mini, and MacBook Pro, Apple also announced that the 8GB versions of the M2 and M3 MacBook Air have also been removed from the lineup.

Starting today, the M2 MacBook Air and M3 MacBook Air will both have 16GB as the starting configuration. But here's the kicker: Apple isn't raising prices. That means if you'd spent $1,199 on an M2 MacBook Air with 16GB of RAM yesterday, you'd be getting it today for just $999. As much as that'll sting for recent buyers, it's great news for people buying MacBook Airs this holiday season.

Read more
The new M4 MacBook Pro comes with these 7 major changes
MacBook Pro with M4

Apple has officially announced the M4 MacBook Pro in both 14-inch and 16-inch screen sizes. In addition to the base M4 model, they also come in M4 Pro and M4 Max configurations in both sizes.

But let's be real: the M3 MacBook Pro was already a fantastic laptop. Is it really worth upgrading to the new model? I won't know for sure until I've tested them myself, but here are the six major changes you need to know about when it comes to the next generation of MacBook Pros.

Read more
14 years later, the Mac mini has finally been reborn
Someone holding a new Mac mini in their hand.

Apple's big week of Mac announcements continued this morning with the unveiling of the M4 Mac mini, featuring a new chip, a revamped design, and some important hardware changes. Importantly, it marks the first time the Mac mini has seen a major redesign since the unibody model launched in 2010.

The footprint is now just 5 by 5 inches, taking up less than half the space on your desk. To be fair, it's slightly taller now at two inches (up from 1.4 inches), a bit like a shrunken down Mac Studio, which is 7.7 by 7.7 inches. The new Mac mini is also significantly lighter at just a pound and a half. The previous Mac mini weighed 2.6 pounds.

Read more