Check Which Process Locked a File Using PowerShell - Optimize Windows Defender Settings for Best Protection-Outlook Endless Login Prompt Solution

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.