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…
Best Apple deals: Save on AirPods, Apple Watch, iPad, MacBook
Apple MacBook Air M1 open, on a table.

Apple's ecosystem is probably one of the biggest in the world, and if you want to expand it, then you probably know that Apple gear isn't that cheap. Of course, given that it makes some of the best wireless earbuds, the best smartwatches, the best laptops, and even the best tablets, that makes a lot of sense. Luckily, there are a lot of excellent Apple deals floating around that will help save you a little extra, which is why we've gone out and collected a few of our favorite ones.

That's why we've gone out and searched through various big retailers to find you some of the best deals we can find. That includes everything from the MacBook deals, AirPods deals, Apple TV deals and Apple Watch deals to the AirTag, so hopefully, you can find the perfect deal that fits your needs and budget.
Apple AirTag (4-Pack) -- $70 $99 30% off

Read more
Some updates coming to macOS 15 aren’t just about AI
Apple's 15-inch MacBook Air on a desk, with macOS Sonoma running on its display.

Apple's Worldwide Developers Conference (WWDC) is coming up soon, and everyone's expecting a huge announcement around AI. But don't worry, according to a report from AppleInsider, there are some practical tweaks coming to macOS 15 that are in the works. Notably, the System Settings app is set to receive the biggest changes, with other menus and app UIs also expecting some rearranging.

The last update to the Settings app happened with macOS Ventura, changing the name from System Preferences to System Settings and shifting to an iOS-style design, a change that ruffled the feathers of diehard Mac users. This time, the organizational system will reportedly be based on "priority and overall importance."

Read more
MacBooks may get very strange (and exciting) in 2026
Foldable Macbook concept image created by LunaDisplay.

Apple's first all-screen foldable MacBook has been rumored for many years, and it's finally getting closer. Reports from analyst Ming-Chi Kuo suggest Apple plans to release its first foldable as early as 2026.

According to Kuo, Apple is considering both 20.25-inch and 18.8-inch panels that, when folded, would equate to a 14- to 15-inch MacBook and a 13- to 14-inch MacBook. Previous reports estimated a 2027 release for these all-screen MacBooks, but Kuo's latest information suggests we could see them as early the first half of 2026. And now that Apple has introduced its M4 chip, it's little surprise that these future devices are expected to run on M5 series processors.

Read more