[win] Skip syncing when a file needs to be updated is locked.