Check Which Process Locked a File Using PowerShell - Troubleshooting Nginx 502 Bad Gateway Step by Step-How to Enable Task Scheduler Command in Windows 10

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