Check Which Process Locked a File Using PowerShell - How to Disable Windows Defender Real-Time Protection for Performance-Resolve BitLocker Invalid Configuration Error Code

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