Fix OneDrive Sync Error: Network Connection Lost - Resolve 'File Locked' Error in Windows 10 Search-Windows Update 504 Gateway Timeout: Advanced Troubleshooting Checklist

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.