Reset Microsoft Store Using wsreset Command - Windows Defender Keeps Restarting – Troubleshooting Guide-Troubleshoot Windows Security Locked File Error 0x80070020

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