Fix 'Windows Defender File Locked by Another Program' Error - Troubleshoot Windows Search with Index Rebuild-Re-enable Windows Defender When Group Policy Turned It Off

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