Fix Windows Defender 504 Gateway Timeout Error - Resolve Permissions Denied Due to Expired Security Token-Microsoft Store File Locked: Troubleshooting Checklist

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