Fix Git 'index.lock' File Exists Error in IntelliJ - Resolve 'Permission Denied' When Using pip in venv-Switch Node Version for a Specific Package with nvm

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