Fix Windows Security Update Error 0x800f0922 - How to Fix 'File Locked' Error in Windows Terminal and CMD-Fix 'npm command not found' in VS Code Terminal

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