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…
Best refurbished MacBook deals: Get a MacBook Air for $140 and more
A stack of MacBooks is pictured from the top down.

If you’re in the market for one of the best laptops it’s worth turning your attention toward Apple’s MacBook lineup, and if you’re looking for some savings it can be helpful to shop MacBook deals. Due to the popularity of Apple’s MacBooks they don’t often see significant discounts, but a good way to land some impressive MacBook deals is by shopping refurbished. Most refurbished MacBooks are backed by warranties and decent return windows, allowing you to shop refurbished MacBooks with the confidence you might have when shopping for a brand new one. We’ve tracked down what we feel are the best refurbished MacBook deals currently taking place, so feel free to start shopping for a refurbished MacBook with some savings.
MacBook Air 11.6-inch (2015) -- from $140

Once the latest MacBook Air but now eight years old and still competent, the MacBook Air 11.6-inch (2015) is a great starting point for anyone new to macOS or who just needs something financially on par with a Chromebook. It's a refurbished model but it comes with a one-year warranty so there's peace of mind here. It won't run the latest macOS unfortunately, but its Intel Core i5 processor, 4GB of memory and 128GB of SSD storage helps you perform the basics. It still has all the style of a MacBook so we're thinking this could be a good entry point as your child's first MacBook or if you want a project.

Read more
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