Why auto-lock matters
Your Mac is only secure when locked. Many workplaces expect you to lock an unattended screen as a matter of habit. Even at home, an unlocked machine is vulnerable to someone picking it up and accessing your email, files, or accounts. The challenge is that automatic locking should balance security with usability: you do not want your Mac to lock while you are reading something, taking a phone call, or briefly stepping away.
macOS provides built-in settings for this, but they are limited to inactivity timers. Several third-party tools extend this logic by adding detection layers: Bluetooth proximity, Touch ID, or the camera itself. Understanding what each method does and what it requires will help you make a decision that fits your threat model and daily habits.
Method 1: macOS native inactivity timeout
The simplest approach is to rely on macOS itself. You can set your Mac to lock automatically after a period of inactivity: no keyboard, no mouse, no Touch ID unlock. This is configured in System Settings under Lock Screen. The same pane controls the password requirement, and for the keyboard shortcut and other by-hand options see the guide on how to lock your Mac screen, or lock from a single command in the Terminal.
How it works: You set a time limit (for example, 5 minutes). If no input is detected for that duration, macOS locks the screen and requires your password (or Touch ID) to wake it.
Strengths: Built into macOS; no third-party app needed. Works immediately. The timer adjusts if you plug in power (customisable per power state).
Weaknesses: Does not detect actual presence. If you are reading a document or watching a video without interacting with the keyboard or trackpad, the timer will not reset, and your Mac will lock even though you are there. Conversely, if someone else walks up to your Mac, it will not lock until the timer expires. Unlike Windows, macOS has no built-in option to lock when a paired device leaves Bluetooth range, so this fixed timer is all the system itself offers.
What it needs: Nothing; it is built in. Just configure the timeout in System Settings.
Verdict: Adequate for low-threat environments where you tend to type regularly. Not suitable if you often read or video-call without moving the mouse.
Method 2: Apple Watch proximity (also known as "Unlock with Apple Watch")
Modern Macs support unlocking with your Apple Watch (you wear the watch, approach the Mac, and it wakes without asking for a password). But you can also use this in reverse for locking: some third-party apps pair your Mac to your Apple Watch via Bluetooth and lock the Mac if the watch disconnects or falls out of range.
How it works: The app monitors Bluetooth signal strength (RSSI) between your Mac and watch. If the signal degrades (indicating you have walked away), the app locks the screen. Some apps, like Near Lock and Tether Lock, extend this to pair with your iPhone instead, offering similar proximity-based locking.
Strengths: Responsive and reliable if you always wear your watch or carry your phone. Reduces false locks: you are unlikely to walk away and leave your watch behind. Addresses the reading-without-movement weakness of the inactivity timer.
Weaknesses: Battery-dependent; if your watch or phone runs out of battery, the system fails. Also, if you leave your device on your desk while walking away, the Mac will not lock. Bluetooth range is typically 30–50 metres indoors, so it works well in an office but can be unreliable in open homes or workshops.
What it needs: An Apple Watch (or iPhone, depending on the app) paired via Bluetooth. Some apps are free; others are paid.
Verdict: Excellent for people who always wear their watch or carry their phone. Not reliable for households where devices are left behind or where a room spans beyond Bluetooth range.
Method 3: Touch ID biometric (MacID)
MacID is a macOS app that uses your Mac's built-in Touch ID sensor. Rather than auto-locking on absence, it allows you to unlock the Mac with a tap of your finger instead of typing your password. This is convenient, but it is less about absence detection and more about convenience.
How it works: You enrol your fingerprints in macOS. MacID adds a menu bar button that lets you lock your Mac with a click, and then unlock it with a Touch ID tap. Some configurations allow auto-lock after inactivity, but the primary feature is user-initiated locking followed by biometric unlock.
Strengths: Convenient and fast. Touch ID is more user-friendly than typing a password. Works on any Mac with a Touch ID sensor.
Weaknesses: Does not automatically detect absence; you must manually lock the screen with a click. It is a convenience layer, not a true auto-lock system. If you forget to lock before stepping away, your Mac remains unlocked.
What it needs: A Mac with Touch ID (all modern Apple Silicon Macs have this). The MacID app.
Verdict: Best as a complement to another method, not as a standalone auto-lock solution. Makes manual locking faster, but you must remember to lock.
Method 4: On-device camera presence detection (Peeku)
Peeku uses your Mac's built-in camera to detect whether a face is present in front of the screen. Unlike cloud-based surveillance systems, this analysis happens entirely on your Mac using Apple's Vision framework.
How it works: Peeku runs a lightweight machine learning model locally on your camera feed. When a face is no longer detected, the app waits a few seconds (to avoid false locks during brief look-aways) and then locks your screen. Optionally, you can pair an Apple Watch; the app will lock only when both the camera and watch agree you are away, reducing false positives. Keyboard and mouse activity also factor in.
Strengths: Detects actual physical presence rather than inactivity or device proximity. Works even if your watch has run out of battery or is in another room. Does not depend on you remembering to lock manually. All processing happens on your Mac; no camera frames leave your computer. Includes optional wellness coaching (movement reminders and 20–20–20 eye-break nudges). Can distinguish your face from a visitor's.
Weaknesses: Requires a camera (most modern Macs have one, but an older external camera may be needed for some setups). Camera permission must be granted. Some people find the idea of camera-based detection uncomfortable, even when fully on-device. Lock reliability depends on the password-required-after-sleep setting in macOS (if disabled, the screen may wake without locking). Does not work if you physically turn off your camera or cover the lens.
What it needs: A Mac with a built-in or external USB camera. macOS 14 or later. Apple Silicon processor. Optionally, an Apple Watch for added confidence.
Verdict: Best for people who want true presence-based locking without relying on a wearable. Particularly valuable if you often step away from the keyboard without intending to; the camera catches actual absence, not interaction.
Comparison table
| Method | How it detects absence | Requires setup | Auto-locks on absence | Privacy posture |
|---|---|---|---|---|
| macOS inactivity timer | No keyboard or mouse input for N minutes | Built-in; configure in System Settings | Yes, but after timeout expires | All local; no app involved |
| Near Lock (Watch/Phone proximity) | Bluetooth signal from paired device drops below threshold | Install app; pair Watch or iPhone | Yes, immediate when device out of range | Local Bluetooth signal only; no cloud |
| Tether Lock (iPhone proximity) | iPhone disconnects or out of Bluetooth range | Install app; pair iPhone | Yes, when paired iPhone moves out of range | Bluetooth-based; no cloud |
| Proximity Lock System (CLI) | Bluetooth device out of range (open-source) | Install Python CLI; pair Bluetooth device | Yes; community tool | Local; open-source code auditable |
| MacID (Touch ID biometric) | Manual: you tap the menu bar button to lock | Install app; enrol Touch ID fingerprints | No; requires user action to lock | Fingerprints stored locally; Touch ID never leaves Mac |
| Peeku (camera presence) | Face no longer detected on camera; optional Watch gate | Install app; grant camera permission | Yes, immediately when face absent | All on-device using Apple Vision; camera frames not saved; no cloud face data |
Which method is right for you?
Choose the inactivity timer if: You work in a low-threat environment and type regularly. You do not want to install a third-party app. A 5–10 minute timeout is acceptable for your use case.
Choose Bluetooth proximity (Near Lock or Tether Lock) if: You always carry your phone or wear your Apple Watch. You want immediate locking the moment you walk away. You prefer not to use a camera.
Choose MacID if: You want convenience more than automation. You are happy to lock manually but want Touch ID to unlock. This works well with another method, not as a standalone.
Choose Peeku if: You want true presence-based locking. You work in an environment where you step away from the keyboard without moving the mouse (reading, calls, thinking). You want optional wellness coaching alongside the lock. You are comfortable with on-device camera analysis and want privacy guarantees (no cloud, no face photos).
Many people use a combination. For example, pairing Peeku's camera detection with an Apple Watch optional gate (so the watch acts as a secondary confirmation of absence) provides a robust two-layer system: if the camera temporarily loses your face during a glance down, the watch prevents a false lock.
How camera-based detection differs from other apps
You might wonder: is Peeku the only camera-based app? The answer is no. SitApp, for instance, also uses your camera, but for a different purpose: it detects your posture, not your presence. SitApp analyses your body position and warns you if you are slouching. Peeku's distinctive offering is using the camera to detect absence (is a face in the frame?) and bundling that with optional wellness coaching (movement reminders, eye-break prompts, posture hints).
Most walk-away lock tools rely on Bluetooth or a paired device. Peeku stands out by using local vision as the primary signal. This works well if you want to avoid wearing a watch or if your watch is charging. It also means the lock responds to actual physical presence, not device proximity.
Practical guidance for your workflow
The best method depends on your habits. If you have a routine of typing, reading, video calls, and occasional break-time moments, the inactivity timer alone will lock you out during pauses. Adding a camera or watch layer solves this: the screen locks when you physically leave, not when you stop typing.
If security is a high concern (you work in a secure facility or handle sensitive data), consider a multi-factor approach: set a short inactivity timeout (2–3 minutes), pair it with either camera or watch detection, and ensure macOS requires a password immediately after sleep or screen lock. This layering means a lock happens quickly and reliably. If a method you have configured is not locking as expected, the guide to fixing a Mac that will not lock automatically covers the usual culprits.
If convenience is the priority, pair a passive auto-lock method with fast unlock, such as Touch ID or a tool like MacID. The App Store version of Peeku is the coaching build, so it can help with eye breaks and movement reminders, but the automatic walk-away lock needs the direct Mac build because Apple's sandbox blocks the lock command.
If you work from home and value privacy, an on-device camera system like Peeku offers peace of mind: you see that locking happens, you control the permission, and you know that no one else (not your ISP, not Apple, not the developer) ever sees your camera feed.
A note on statistics and threat models
You may have seen claims that an unattended Mac can be compromised in seconds. These figures are often unverified and miss the context of your actual threat. If your Mac is at home and you lock it when you step away, the risk is low. If you work in a shared office, locking is essential. The 20–20–20 rule (every 20 minutes, look away from your screen for 20 seconds) is endorsed by the American Optometric Association as a technique to reduce eye strain for people working at screens for extended periods.
The core idea is straightforward: an unlocked screen is a risk. The right auto-lock method for you is the one you will actually use, trust, and that fits your daily rhythm. All the methods described here are more secure than leaving your Mac unlocked.
Ready to auto-lock your Mac?
Get Peeku Auto-lock When You Walk AwayFree Mac App Store build
Prefer the App Store path?
Install Peeku Presence Coach for eye-rest nudges, walk reminders, optional Desk Health, and private local presence signals. The full walk-away lock still needs the direct Mac build because the App Store sandbox blocks automatic screen-lock commands.