Why your Mac locks while you are still using it
macOS does not watch for you; it counts idle seconds. What feels like an over-eager lock is really two settings working together. The first is an inactivity timer that starts the screen saver or turns the display off after a set period of no keyboard or mouse input. The second is a password requirement that decides whether a password is demanded once that happens. When the timer is short and the password requirement is set to Immediately, the screen blanks and locks the instant you stop touching the keyboard, even though you are reading the screen, listening on a call, or watching a video.
The key detail is that the timer measures input only. Moving your eyes across the screen, talking in a meeting, or reading a long page does not count as activity and does not reset the clock. That is why a Mac can lock on someone who never left their chair. If you have the opposite problem and your Mac never seems to lock at all, the same two settings are the cause, explained in the guide on why a Mac is not locking automatically.
Give yourself more time before it locks
The first lever is the inactivity timer. Lengthening it means the screen waits longer with no input before it blanks and can lock.
Lengthen the idle timers
- Open System Settings and go to Lock Screen.
- Find "Start Screen Saver when inactive" and "Turn display off when inactive". On a laptop there are separate options for battery and for the power adapter.
- Increase the interval to something comfortable, for example three to five minutes, or longer while on power.
What this changes: it only adjusts how long the Mac waits with no input before the screen blanks. It does not change what happens once it does blank; that is the next setting.
Add a short grace period
The second lever is the password requirement itself. A grace period lets the screen blank but gives you a window to wake the Mac without retyping your password.
Loosen the password requirement
- In System Settings, go to Lock Screen.
- Find "Require password after screen saver begins or display is turned off".
- Change it from Immediately to a short delay, such as After 1 minute or After 5 minutes.
The honest tradeoff: the cost of a grace period is real. Anyone who reaches your Mac inside that window can wake it straight to your desktop without a password. On a machine you ever leave in a shared or public space, that is a meaningful weakening of security, which the guide on auto-locking at a shared desk or open office covers in more detail.
The catch: a looser timer is a weaker lock
Every adjustment above trades security for comfort, and there is no native setting that gives you both. A long timer or a grace period stops the nuisance locking, but it also widens the window in which your Mac sits unlocked after you genuinely walk away. Tighten everything for security and it locks while you pause to think; loosen it for comfort and it stays open when you leave. The native lock is time-based, so it cannot tell the difference between you reading and you gone. For the native timer, Bluetooth proximity, Touch ID, and camera presence weighed side by side, see the guide on ways to auto-lock your Mac in 2026.
If you want it to stop locking altogether
You can set the screen saver and the display-off options to Never, and the Mac will effectively stop locking on its own. That removes the annoyance completely, but it also means the Mac never locks unless you do it by hand, which is fine when you are alone at home and a real exposure anywhere else. If that is your situation, the more useful question is usually not "how do I switch locking off" but "how do I make locking happen only when it should", which is the next section.
A lock that does not interrupt you
Presence-based locking answers a different question: not "how many seconds since the last keypress" but "is the person still here". This is the approach Peeku uses to auto-lock the moment you walk away. Peeku watches for genuine presence and absence using three local signals:
- Face presence from the built-in camera, analysed on your Mac with Apple's Vision framework. No image or video leaves the device.
- An optional Apple Watch proximity gate over Bluetooth, so the Mac only locks when both the camera and the Watch agree you are away. The Apple Watch reinforcement guide explains how that gate reduces false locks.
- Keyboard and mouse idle time, used to avoid reacting to a brief pause.
Because Peeku waits for real absence, it does not lock while your face is in front of the screen, so the reading, watching, and mid-call problem goes away, and it still locks within a few seconds once you actually leave. That lets you keep "Require password: Immediately" for full security and stop being locked out while you are present, instead of choosing one or the other. Detection runs entirely on your Mac, with no account and no cloud face data; the guide on privacy-first, on-device auto-lock explains how. Two honest caveats: Peeku still relies on the "Require password: Immediately" setting above, so set that first either way, and the full locking app ships free outside the Mac App Store, on Gumroad and as a notarised DMG, because the App Store sandbox blocks the system screen-lock calls.
Quick reference
- Locks while you read or watch: a short screen-saver or display-off timer combined with "Require password" set to Immediately.
- Want more time: lengthen "Start Screen Saver when inactive" and "Turn display off when inactive" in System Settings, Lock Screen.
- Want a grace period: change "Require password" from Immediately to a short delay, accepting that anyone can wake the Mac in that window.
- Want it to stop interrupting without leaving the Mac open: use presence-based locking, which does not lock while you are present and locks when you leave. The two-minute setup is in the guide on setting up walk-away lock.
Stop the nuisance without dropping your guard
Keep your Mac locking only when you actually leave. Set "Require password" to Immediately for a baseline, then let Peeku decide by presence rather than a timer. Free, no account, no cloud face data, and all detection stays on your Mac.
macOS 14+, Apple Silicon. About 3.1 MB. Developer ID signed and notarised. Pay what you want on Gumroad (₹0 option available).
Free 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.