What locking a Word document means
Locking a Word document means you restrict what other people can do when they open it. The most common lock prevents anyone from editing the text, pictures, or formatting — they can only read it. A second type of lock lets people edit specific sections you choose while protecting the rest. A third type requires a password before someone can even open the file.
The lock stays attached to the file itself, so it works whether someone opens it on their computer, in the cloud, or on their phone. If you send a locked document to five people, all five get the same restrictions.
Locking is different from password-protecting. A password-protected document hides the content until someone types the right password. A locked document shows the content but prevents changes to it.
Key Takeaways
- The simplest lock prevents all editing — readers see the document but cannot change anything, and Word tells them the document is read-only.
- You can lock only specific sections, letting trusted people edit those parts while the rest stays protected.
- Locking a document requires you to save it, and the lock stays in place every time someone opens it afterward.
- A password lock requires someone to type a password before they can even open the file, which is stronger protection than a read-only lock.
- Removing a lock is as straightforward as unlocking it — you do not need the original password if you are the document owner.
How to make a document read-only so no one can edit it
The fastest way to lock a Word document is to mark it as read-only. Open the document you want to lock, then go to the File menu in the top left. Click Info on the left side of the screen.
Look for a button that says Protect Document (in newer versions of Word) or Protect This Document (in older versions). Click it, then select Mark as Final from the dropdown menu. Word will save the document and show you a message saying it is now marked as final. Anyone who opens it will see a yellow bar at the top saying the document is read-only, and the editing tools will be grayed out.
This method works on Windows and Mac versions of Word, and also in Word Online through your web browser. The document remains read-only until you unlock it the same way — go to File > Info > Protect Document > Mark as Final again to toggle it off.
How to lock only certain sections and let others edit them
If you want some people to edit specific parts of a document while keeping the rest locked, you can protect individual sections. This is useful when you send a document to multiple people and each person should only change their own section.
First, select the text you want to keep editable. Highlight it by clicking at the start of the section, holding down your mouse button, and dragging to the end. Then go to Layout (or Page Layout in older Word versions) at the top of the screen. Click Breaks and choose Continuous before and after the section you want to protect. This tells Word where one section ends and another begins.
Now go to Review at the top, then click Restrict Editing (or Protect Document in some versions). Check the box that says Limit formatting to a selection of styles or Allow only this type of editing. Choose Tracked Changes or Comments from the dropdown — this lets people suggest changes without actually editing the document. Click Yes, Start Enforcing Protection. Word will ask if you want to set a password; you can leave it blank or add one.
Now only the sections you left unprotected can be edited. The locked sections will show a message if someone tries to change them.
How to password-protect a document so people need a password to open it
A password lock is stronger than read-only protection because it hides the document entirely until someone types the correct password. Open the document, go to File, then click Info. Look for Protect Document and click it.
Select Encrypt with Password. Word will open a box asking you to type a password. Type something you will remember, then click OK. Word asks you to type the password again to confirm it. After you confirm, save the document — use File > Save or press Ctrl+S on Windows or Command+S on Mac.
The next time anyone opens this document, Word will ask for the password before showing any content. If they type the wrong password, the document will not open. This works in Word Online and on phones too, though the password entry screen looks slightly different.
If you forget the password, Microsoft cannot recover it for you. Write down your password somewhere safe, or use a password manager to store it.
How to unlock a document you have locked
If you locked your own document and now want to unlock it, the process depends on which type of lock you used. For a read-only lock, go to File > Info > Protect Document > Mark as Final again. The lock turns off when ready.
For a section lock, go to Review > Restrict Editing and click Stop Protection. If you set a password when you created the lock, Word will ask for it now — type it and click OK.
For a password lock on the file itself, you cannot remove it without the password. If you remember the password, you can open the document, then go to File > Info > Protect Document > Encrypt with Password, delete the password from the box, and save. If you do not remember the password, you will need to create a new version of the document.
What happens when someone tries to edit a locked document
When someone opens a read-only document, they see a yellow information bar at the top of the screen saying "This document has been marked as final to discourage editing." The ribbon (the toolbar with all the buttons) is grayed out, and they cannot click into the document to type. They can read it, copy text from it, and print it, but they cannot make changes.
If they want to edit anyway, they can click Edit Anyway on the yellow bar, but this only works if they have permission to edit the file on their computer. It does not bypass the lock — it just removes the lock from their copy. The original file stays locked.
For a password-protected document, they see a password box before the document opens at all. If they type the wrong password three times, Word locks them out temporarily.
Locking documents in Word Online and on your phone
Word Online (the version you use in your web browser through Microsoft 365) has the same locking options as the desktop version, but the menus are slightly different. Open your document, click File, then look for Info. You will see Protect Document with the same options: Mark as Final, Encrypt with Password, and Restrict Editing.
On phones and tablets, the Word app has fewer protection options. You can mark a document as final, but the full section-locking feature is not available on mobile. Password protection works the same way — go to File > Info > Protect Document > Encrypt with Password.
If you lock a document on your desktop, the lock travels with the file. When someone opens it on their phone, they see the same restrictions.
Frequently Asked Questions
Can someone unlock my document if I do not give them the password?
No. If you set a password on a section lock or a file encryption lock, only someone with the password can remove it. Read-only locks can be removed by anyone who has permission to edit the file on their computer, but this only affects their copy — the original stays locked.
What is the difference between locking and password-protecting?
Locking (marking as final or restricting sections) lets people see the document but prevents editing. Password-protecting hides the document entirely until someone types the password. You can use both at once — password-protect the file so people need a password to open it, then lock sections so only certain people can edit certain parts.
If I lock a document and send it to someone, can they unlock it?
Not if you used a password. If you only marked it as final with no password, they can click Edit Anyway and remove the lock from their copy, but the original file stays locked. For stronger protection, always set a password when you lock a document you plan to share.
Does locking a document in Word work if someone opens it in Google Docs?
No. Google Docs does not recognize Word's locks. If someone downloads your locked Word document and opens it in Google Docs, the lock disappears. If you need to share with people who use Google Docs, use Google Docs' own protection features instead, or ask them to open the file in Word.
What if I forgot the password I set on my document?
Microsoft cannot recover a forgotten password. You will need to create a new version of the document without the password protection. To prevent this, store your passwords in a password manager like Bitwarden or 1Password, or write them down in a find location.