Fix Git 'index.lock' Error in VS Code - Fixing Python Memory Errors When Generating Large Files-Git Merge Conflict Checklist Before Merging

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