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.

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.

Editors' Recommendations

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…
How to choose between a MacBook and a Windows laptop
The keyboard and trackpad of the MacBook Pro.

When shopping for a new laptop one of the biggest decisions you'll make is choosing between MacBooks or Windows laptops. And it's not always an easy decision. New advances in chip technology are propelling even entry-level MacBooks to high-performance targets, and a shift in Windows laptops away from cheap plastics evens the playing field between these two platforms. Both Windows 11 and macOS are intuitive and clean operating systems. But where they differ comes down to one key element: their ecosystems.

What this means for you is that choosing an option from a list of the best laptops isn't so simple. The laptop you choose today can greatly influence which accessories you buy, which apps you use, and even what kind of phone you carry. Your entire workflow will depend on the platform you go with, from how you manage windows to which keyboard shortcuts work best. It's not a light decision.

Read more
How long do MacBooks last? Here’s when you’ll need to buy again
The M3 MacBook Air in front of a window.

There’s no doubt that Apple’s best MacBooks have a reputation for long-lasting quality, but what sort of longevity can you expect to get out of one? And just how long will Apple continue to support your laptop? Finally, what are the differences between the MacBook Air and the MacBook Pro?

These are no doubt important questions to consider when buying a new MacBook or even considering an upgrade. Here's everything you know about the longevity of your MacBook.
Lifespan of MacBook hardware

Read more
Best refurbished MacBook deals: Get a MacBook Air for $140 and more
A stack of MacBooks is pictured from the top down.

Apple is one of the best laptop brands, and that's not surprising, given that various types of MacBooks regularly top the list of best laptops on the market. Unfortunately, sitting at the top does also mean that they are quite expensive, so fi you want to get your hands on one without paying an arm and a leg, going for a refurbished model is the way to go about it. Luckily, most MacBooks you'll find tend to be under warranty or have relatively good return windows, so even if there is a fault somewhere, you can return it and get a replacement or your money back.

To help you pick the best MacBook for your budget, we've gone out and picked some of the best refurbished MacBook deals we could find and compiled them below. Apple deals are notoriously slim pickings, so if you want a complete Apple suite for cheap, check out refurbished iPhone deals and refurbished iPad deals too.
MacBook Air 11.6-inch (2015) -- from $112

Read more