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 change the default apps on a Mac
Change your Mac’s default apps in three easy steps
MacOS Catalina Hands-on | Macbook Pro

Apple products come loaded with software designed to work seamlessly with the macOS operating system. For example, Safari is the default software used to load websites, Preview is used to view pictures, and Pages will open documents. But if you're not a fan of the built-in software, Apple doesn't lock you into using it. However, you'll need to know exactly where to look if you want to change the default apps on a Mac.

Thankfully, the process is largely the same whether you're running macOS Sonoma 14, Ventura 13, or other macOS versions. It's also easy to reverse the process and go back to using default apps.

Read more
How to change your router’s Wi-Fi password
Netgear's Nighthawk RAXE500 tri-band router.

When it comes to getting devices online, Wi-Fi is the gold standard. Millions of people use their laptops, TVs, gaming consoles, and smartphones with the wireless technology – and routers are the magical devices that make this possible. Setting a password on your Wi-Fi router is crucial to keeping it safe and secure, as an unprotected router can easily be targeted by hackers or bogged down by neighbors who take advantage of the free access.

Because of this, it's important to change the default password for your router. A good Wi-Fi password consists of a long alphanumeric string that can't be easily guessed. Changing your router's Wi-Fi password is a pretty easy process, though it might be a bit confusing if you're new to the concept.

Read more
Best MacBook deals: Get an Air for $605 and save on M3 MacBook Pro
A MacBook Pro M2 sits on a wooden table with a nice bokeh background.

Apple has long been known to turn out some of the best laptops, with models like the MacBook Air and MacBook Pro regularly being among the most sought-after laptops. It can actually be difficult to land some decent Apple deals, as the brand's popularity keeps many of its products from seeing the bargain bin. Right now, however, Apple has a lot of options among the best laptop deals. The original Apple Silicon MacBook Air is seeing some of its lowest prices ever, and there’s even some newer MacBook Pros discounted right now. Whether you’re in search of a MacBook Air or a MacBook Pro, reading onward you’ll find the best MacBook deals currently available.
Best MacBook Air (M1) deals

The Apple MacBook Air (M1) started a seismic shift for Apple being the first of its Airs to have an Apple-based processor. We took a look at the differences between the M2 and M1 and the M1 is still looking pretty great. It's also a touch nearer to affordable than anything else here. Fast yet fanless so it's silent to use, you gain an 18-hour battery life, a gorgeous looking 13.3-inch Retina display along with all the effortless style you'd expect from an Apple device. These laptops are best for students or those who want something stylish yet reasonably powerful to use on the move. Nowadays, deals are becoming a little harder to come by unless you're willing to consider a refurbished/renewed model.

Read more