Fix 'File Locked by Windows Security Cannot Delete' - How to Resolve Windows Update 504 Error-Troubleshoot Internet with CMD Commands

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