What "locked" means in Word, and how to fix it
A Word file can be locked in several different ways, and the fix depends on which kind of lock is in place. The most common scenario is that the file itself is read-only — you can open it and read it, but Word won't let you make changes. A second possibility is that the document is protected, meaning someone has restricted editing on specific sections or the whole document. A third is that the file is actually locked by another user who has it open right now. Each one has a different solution.
Start by trying to edit the document. If Word shows a message bar saying "This document is in read-only mode" or "This file is locked for editing by another user", you are dealing with one of these three problems. If you see a message about document protection or restricted editing, that is a different lock. The steps below cover all three.
Key Takeaways
- Read-only files can usually be unlocked by clicking "Edit Anyway" in the message bar, or by changing the file properties in Windows or Mac.
- If another user has the file open, you can request editing rights through the sharing notification, or ask them to close the file.
- Protected documents require the password that was set when protection was turned on, or you can remove protection if you have admin access to the file.
- Files stored in OneDrive or SharePoint may show as locked because of version history or sharing settings, not because of a password.
Unlocking a read-only file on Windows
If Word shows a message bar at the top saying the document is read-only, the fastest fix is to click the "Edit Anyway" button on that bar. Word will unlock the file immediately and let you make changes.
If there is no message bar, or if "Edit Anyway" does not work, the file itself may be marked read-only in Windows. Right-click the file in File Explorer, select Properties, and look at the bottom of the General tab. If there is a checkbox next to "Read-only" and it is checked, uncheck it and click Apply. Close the Properties window and try opening the file again in Word.
If the file is on a network drive or shared folder, the read-only status may be set by the folder permissions rather than the file itself. In that case, you will need to ask the person who manages that folder to change your access level.
Unlocking a read-only file on Mac
On a Mac, click the file once in Finder to select it, then press Command+I to open the Info window. Look for a section called Sharing & Permissions at the bottom. If your user account shows "Read only" next to it, click the lock icon at the bottom right of that section, enter your Mac password, and change your access to "Read & Write". Close the Info window and open the file in Word.
If the lock icon is already unlocked but you still cannot edit, the file may be locked by another user. Check the Sharing & Permissions section to see if another account has the file open. If so, ask that person to close the file first.
Removing protection from a Word document
Document protection is different from a read-only file. When a document is protected, Word restricts what you can edit — sometimes you can only edit certain sections, sometimes you cannot edit anything at all. Word will show a message saying "This document is protected" or "Editing is restricted".
If you know the password that was set when protection was turned on, go to the Review tab in the ribbon and click "Restrict Editing" (in older versions of Word) or "Protect" (in newer versions). A panel will open on the right side. Click "Stop Protection" or "Unprotect Document" and enter the password. The document will unlock immediately.
If you do not know the password, you cannot remove protection yourself. You will need to contact the person who protected the document and ask them to remove the protection. They can do this by opening the document, going to the Review tab, clicking the Protect button, and selecting the option to stop protection — they will not need to enter the password again because they are the one removing it.
Handling files locked by another user
If Word shows a message saying the file is locked by another user, that person has the file open right now. You can request editing rights by clicking the "Request Edit Access" button in the message bar. Word will send them a notification asking them to let you edit the file.
The other user can then choose to let you edit, or they can keep the file to themselves. If they let you edit, you will both be able to work in the document at the same time, and Word will track both sets of changes. If they decline, you will need to wait until they close the file, or ask them directly to close it so you can work on it.
If the person who has the file open is not responding, and the file is stored in OneDrive or SharePoint, you can sometimes force the lock to release by waiting 30 minutes. Word automatically releases locks when a user has been inactive for that long. You can also try restarting your computer and opening the file again.
Unlocking files stored in OneDrive or SharePoint
Files in cloud storage sometimes show as locked even when no one else has them open. This usually happens because of version history or because the file is being synced. Try closing the file, waiting 30 seconds, and opening it again. If that does not work, check the file's sharing settings by right-clicking it in OneDrive or SharePoint and selecting "Manage access". Make sure your account has edit permissions, not just view permissions.
If the file is still locked, try downloading a copy of it to your computer, editing the copy, and then uploading it back. This bypasses the cloud lock entirely. In OneDrive, right-click the file and select "Download". Make your changes, save the file with a new name, and then upload it back to OneDrive.
Preventing files from being locked in the future
If you regularly work with files that get locked, you can take steps to prevent it. When you are done editing a Word document, always close it completely rather than just switching to another program. Word keeps files locked as long as they are open, even if you are not actively working in them.
If you share files with others, consider using OneDrive or SharePoint instead of email or USB drives. These services handle locks more gracefully and let multiple people work on the same document without one person blocking the others. You can also turn off document protection before sharing a file, unless the protection is there for a specific reason like keeping a template's format locked.
Frequently Asked Questions
Can I unlock a Word file if I forgot the protection password?
No, not without help from the person who set the password. You will need to contact them and ask them to remove the protection. If the file is in your organization, your IT department may be able to help, but they cannot remove password protection — only the original person who set it can do that.
Why does Word say a file is locked when I am the only one working on it?
This usually means Word did not close the file properly the last time you used it. Try restarting your computer and opening the file again. If the problem continues, the file may be corrupted. Try opening a backup copy if you have one, or contact the person who gave you the file and ask for a fresh copy.
Can I edit a read-only file without unlocking it?
You can make changes while the file is open, but Word will not let you save those changes back to the original file. Instead, you can save your changes as a new file by going to File > Save As. This creates a new, unlocked copy that you can edit freely.
What happens if I click "Edit Anyway" on a file someone else is using?
Both of you can edit the file at the same time, and Word will track both sets of changes. When you save, your changes will be merged with theirs. This can sometimes create conflicts if you both edited the same sentence, so it is better to ask the other person to close the file first if possible.
Does removing read-only status affect the file's contents?
No. Changing the read-only setting only changes whether you can edit the file — it does not change anything inside the document itself. Your changes will be saved normally once you unlock it.