Fix VS Code Terminal Not Opening PowerShell - Troubleshooting npm ENOENT and EACCES Errors-Resolving 'index.lock File Exists' in Git

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