Lock on leave is a quiet security feature: you walk away from your laptop, and it locks itself. When it stops working, the risk is real — anyone passing by can see your open screen. It is also easy to miss, because nothing announces the failure. You only discover it when you return and find the screen still unlocked.
The feature depends on the same presence sensor chain as wake on approach, but with an added twist: it must decide you have actually left, not just glanced away. That decision involves a delay timer, sensor confidence, and Windows lock policy. Any of those can break, and the symptom is always the same: the screen stays unlocked.
Lock failures often appear with other setup problems. A Python environment that struggles on ARM, like Python on ARM64 Windows , is a sign of a system with rough edges. A Copilot prompt suggestions feature that does not appear can indicate AI services in a bad state. And if you own a Dell AI machine, our guide to Dell Inspiron 14 Plus AI problems covers model-specific presence quirks.
Why this happens
- Lock on leave disabled: The toggle can be off in Settings, the manufacturer utility, or BIOS.
- Sensor not detecting departure: Poor lighting, distance, or a blocked camera can prevent the sensor from confirming you left.
- Delay timer too long: Some implementations wait minutes before locking, which feels like failure.
- Camera held by another app: A video app using the camera can block presence detection.
- Driver fault: A broken sensor or camera driver stops departure detection entirely.
- Group policy restrictions: Work laptops may have lock policies that override presence locking.
- Screen timeout conflicts: A long screen timeout can mask lock behavior, since the display stays on anyway.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Confirm lock on leave is enabled everywhere
- Open Settings and search for “presence” to find lock on leave options.
- Turn on lock on leave and set the delay to the shortest option for testing.
- Open your manufacturer’s utility and check its presence or security section.
- Make sure dynamic lock is not confusing the test; turn it off temporarily.
- Restart and test by walking away for two minutes.
Fix 2: Test sensor detection conditions
- Sit in front of the laptop, then stand up and step clearly out of camera view.
- Make sure the room is well lit and no bright window is behind you.
- Remove any camera cover or privacy shutter.
- Test from a normal seating distance, not from across the room.
- If locking works in good conditions but not in dim light, environment is the limiter.
Fix 3: Fix the sensor and camera drivers
- Open Device Manager and check System devices, Sensors, and Cameras for warnings.
- Update or reinstall any problem driver.
- Download the latest sensor driver from your manufacturer’s site if Windows cannot find one.
- Restart and retest lock on leave.
- Also update the BIOS, since presence locking often depends on firmware.
Fix 4: Clear app and camera conflicts
- Close all video call, camera, and recording apps.
- Open Settings, then Privacy & security, then Camera, and confirm system access is on.
- Test lock on leave with no other apps running.
- If it works, reopen apps one at a time to find the blocker.
- Restrict the blocking app’s camera access or close it when leaving your desk.
Fix 5: Check lock policy and screen settings
- Open Settings, then Accounts, then Sign-in options, and confirm require sign-in is set appropriately.
- Set the screen timeout to a short value, such as 2 minutes, for testing.
- On Pro editions, run
gpedit.mscand check lock and presence policies. - If the laptop is managed by work or school, ask IT whether lock policies are enforced.
- Use Windows + L manually as a backup habit while you fix the automatic behavior.
Fix 6: Reset presence settings completely
- Turn lock on leave and all presence features off in Settings.
- Restart the laptop.
- Turn presence features back on one at a time, testing lock on leave after each.
- Install all pending Windows updates.
- If it still never locks, contact manufacturer support, since the sensor may be faulty.
For official Windows security guidance, visit Microsoft Support for Windows .
Fix 7: Use dynamic lock as a backup layer
While you troubleshoot the presence sensor, dynamic lock offers a second automatic locking method that does not depend on the sensor at all. It pairs your laptop with your phone over Bluetooth and locks the PC when the phone moves out of range, which covers the same walk-away scenario through a completely different mechanism. It is not perfect — Bluetooth range varies and it can be slow to trigger — but as a stopgap it restores most of the security you lost when lock on leave failed. Running both features together, once presence locking is fixed, gives you two independent layers of protection.
- Open Settings, then Accounts, then Sign-in options, then Dynamic lock.
- Pair your phone over Bluetooth if it is not already paired.
- Check the box to allow Windows to automatically lock your device when you are away.
- Test by walking away with your phone and timing how long locking takes.
- Adjust your expectations for range: Bluetooth lock typically triggers within a minute of leaving range.
- Keep dynamic lock enabled even after fixing presence lock, so a future sensor failure does not leave you unprotected.
Closing
Lock on leave is a security feature, so a failure deserves prompt attention. Work through toggles, sensor conditions, drivers, and policy settings, and most laptops start locking reliably again. Until it works, make Windows + L a reflex every time you stand up — it takes a second and protects everything on your screen.
