First, disable Presence Sensing/Lock on Leave and Dynamic Lock, because the PIN is being accepted and Windows is returning to the lock screen only after the desktop appears—different from a PIN authentication failure.
1. Test Presence Sensing
Some new Windows 11 PCs contain a sensor that automatically locks the device when it decides nobody is in front of it. Microsoft documents that Lock on Leave turns off the screen and then locks the device; an incorrect sensor reading can therefore resemble the behavior described.^1^
- Open Start → Settings → System → Power & battery → Screen and sleep.
- If Automatically turn off my screen when I leave appears, switch it Off.
- Temporarily switch Automatically wake up my device when I approach Off as well.
- Restart the PC, sign in, and type for several minutes to test it.
These options only appear when the computer has compatible presence-sensing hardware.^2^
2. Disable Dynamic Lock
Dynamic Lock can lock Windows when the Bluetooth signal from a paired phone weakens.
- Open Settings → Accounts → Sign-in options.
- Expand Dynamic lock.
- Clear Allow Windows to automatically lock your device when you’re away.
- Restart and test again.
Windows documents Dynamic Lock as automatically locking the device when the paired phone is judged to be out of range.^3^
Is there a specific update fix?
There is no confirmed Microsoft or Dell update bulletin in the available product information that exactly matches a new Dell all-in-one accepting a PIN and then repeatedly returning to the lock screen. The documented 2026 desktop-loading update issue primarily affected Azure Virtual Desktop systems using FSLogix and produced black screens or a desktop that failed to load—not this automatic return to the PIN screen.^4^
Still install current updates:
- Open Settings → Windows Update → Check for updates.
- Install everything offered and select Update and restart.
- Open Windows Update → Advanced options → Optional updates and install applicable Dell driver updates.
- Use Dell’s support/update application to install updates specifically for the computer’s service tag, particularly BIOS, chipset, graphics, sensor, and power-management components. Dell’s Windows 11 guidance treats sleep/resume problems as requiring system and driver troubleshooting.^5^
If it still happens with automatic locking disabled
Determine whether Windows Hello is involved:
- At the sign-in screen, select Sign-in options and use the account password instead of the PIN.
- If password sign-in remains stable but PIN sign-in does not, open Settings → Accounts → Sign-in options → PIN (Windows Hello).
- Remove the PIN, restart, and create a new PIN while connected to the internet.
Microsoft places Windows Hello and PIN management under that Sign-in options page.^3^
If both password and PIN sessions immediately return to the lock screen, use Safe Mode with Networking as the next diagnostic:
- At the sign-in screen, hold Shift while selecting Power → Restart.
- Select Troubleshoot → Advanced options → Startup Settings → Restart.
- Press F5.
- Sign in using the account password; PIN and biometric sign-in are unavailable in Safe Mode.
If the session remains open in Safe Mode, a startup driver, Dell utility, sensor service, or other installed software is implicated rather than the basic Windows sign-in components.^6^
Because the PC is brand new, if disabling Presence Sensing resolves it but the feature repeatedly misdetects presence after all Dell firmware and drivers are current, contact Dell warranty support for sensor/firmware diagnosis rather than resetting Windows or clearing the TPM.
References
- Lock on leave
- Managing Presence Sensing settings in Windows 11 | Microsoft Support
- [Windows 11](https://support.microsoft.com/accounts-billing/security/sign-in-options-in-windows)
- Resolved issues in Windows 11, version 25H2
- Troubleshooting Sleep and Hibernation Issues on a Dell Computer Running Windows 11 | Dell Haiti
- Troubleshoot Problems Signing In to Windows | Microsoft Support