How to Fix Locked Files and Folders in OneDrive for Business
Question details
Synchronized SharePoint files and folders in OneDrive for Business display a lock icon, preventing users from editing or synchronizing documents normally.

- Product
- OneDrive for Business
- Device & OS
- not provided
- Scenario
- Users are trying to access, edit, and sync SharePoint document libraries locally using the OneDrive for Business sync client.
- Observed behavior
- Files and folders show lock indicators, and synchronization stops working, typically because the underlying SharePoint document library has been set to require file check-outs before editing.
Ensure you have site owner or library administrator permissions in SharePoint, as you will need to modify the document library versioning settings to resolve this synchronization issue.
Disable the Check Out Requirement in SharePoint
Modifying the SharePoint library settings to no longer require document check-outs allows the OneDrive sync client to process and synchronize files normally without locking them.
When a SharePoint library is configured to require users to check out files before editing, the local OneDrive sync client flags these files as locked. Disabling this requirement restores seamless co-authoring and synchronization.
Open the affected SharePoint document library in your web browser. Click the Settings (gear) icon in the top right corner and select 'Library settings'.
In the settings menu, click on 'More library settings' if prompted, then select 'Versioning settings'.
Scroll down to the 'Require Check Out' section. Under 'Require documents to be checked out before they can be edited?', select the 'No' option and click 'OK' to save.
Right-click the OneDrive icon in your system tray, pause syncing, and then resume syncing. Alternatively, disconnect and reconnect the sync client. Allow time for the synchronization to complete and the lock icons to disappear.

Experience Seamless Document Editing with WPS Office
If complex permissions and sync errors in Microsoft environments are slowing you down, consider using WPS Office. It provides a lightweight, fast, and highly compatible workspace for your daily document needs without the hassle of file lockouts.
- 1. Download WPS Office: Visit the official WPS website and click the download button for WPS Office Free.
- 2. Install the Application: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
- 3. Edit Seamlessly: Open your local or cloud-synced documents in WPS Office to enjoy fast, uninterrupted editing.

Frequently Asked Questions
Why do my OneDrive files suddenly have a padlock icon?
A padlock icon usually indicates that the file or folder requires a check-out in SharePoint before it can be edited, or that the file has specific rights management or sensitivity labels applied that restrict local editing.
Can I edit locked SharePoint files without checking them out?
If the library is set to require check-outs, you must check out the file to edit it. To allow seamless co-authoring and local sync editing without checking out, an administrator must change the library settings to disable the 'Require Check Out' feature.
Will the lock icon disappear immediately after disabling the check-out requirement?
Not immediately. The OneDrive sync client needs time to process the settings change and sync all files. Depending on the amount of data, it can sometimes take up to 24 hours for the lock icons to completely disappear across all devices.




