What locking a Word file means
Locking a Word file means adding a password so that anyone who opens the document must enter that password before they can make changes. The file itself stays readable — someone can open it and view the content — but they cannot edit, delete, or save over the original without the correct password.
This is different from hiding a file or making it read-only through your operating system. A locked Word file protects the content itself, not just the file's access permissions. If you email a locked document to someone, they will see it, but they cannot alter it unless you give them the password.
Word offers two main ways to lock a file: you can require a password to open it at all, or you can allow anyone to open it but require a password to make edits. Most people choose the second option when sharing documents, because it lets colleagues view the work without blocking them completely.
Key Takeaways
- You can lock a Word file with a password through the File menu under Info, then Protect Document, without needing any special software.
- Requiring a password to edit is more practical than requiring a password to open, because it lets people view the document without the password.
- Once you set a password, you must remember it — Word cannot recover a lost password, and the file becomes permanently locked.
- Locking a file in Word works the same way on Windows and Mac, though the menu names differ slightly between versions.
How to lock a Word file on Windows
Open the document you want to lock in Microsoft Word. Click the File tab at the top left of the screen, then select Info from the menu on the left side. You will see a section called Protect Document with a button that says Protect Document.
Click that button and choose Encrypt with Password from the dropdown menu. A dialog box will appear asking you to enter a password. Type the password you want to use — it can be any combination of letters, numbers, and symbols. Word will ask you to type it again to confirm you did not make a typo. Click OK when you are done.
Save the file. The next time anyone opens this document, Word will prompt them for the password before they can see the content. If you chose Restrict Editing instead of Encrypt with Password, people can open and view the file without a password, but they cannot make changes without entering the password you set.
How to lock a Word file on Mac
Open your document in Word and click File at the top of the screen. Select Info, then look for Protect Document. Click the dropdown arrow next to it.
Choose Encrypt with Password. A dialog will ask for your password. Enter it, then click OK and enter it again to confirm. Save the file using Command + S or through File > Save. The password protection is now active.
If you want people to be able to view the document but not edit it, choose Restrict Editing instead. This option is sometimes called Protect Sheet or Restrict Permission depending on your Word version, but it works the same way.
The difference between encrypt and restrict editing
Encrypt with Password locks the entire file. No one can open it or see any content without entering the password. Use this when the document contains sensitive information that should not be visible to most people.
Restrict Editing (sometimes labeled Restrict Permission) lets anyone open and read the document, but prevents them from making changes without the password. This is more practical when you are sharing a draft with colleagues who need to review it but should not alter the original. They can read every word, copy text, and print it, but they cannot edit the file itself.
If you use Restrict Editing, people can still save a copy of the document under a different name and edit that copy. The password only protects the original file you locked. Encrypt with Password is stronger because it hides the content entirely.
What to do if you forget the password
Microsoft Word does not have a password recovery feature. If you forget the password to a locked file, the document becomes permanently inaccessible. You cannot open an encrypted file, and you cannot remove edit restrictions from a restricted file, without the correct password.
Write down your password in a find location before you lock the file — a password manager, a locked drawer, or a find note app. If you are locking a file that multiple people need to access, share the password through a separate, find channel (not in an email with the file itself).
If you have already locked a file and forgotten the password, there is no built-in solution. Some third-party password recovery tools claim to unlock Word files, but they are unreliable and may not work on newer versions of Word. Your safest option is to recreate the document from a backup if you have one.
Removing a password from a locked file
To remove password protection, open the locked file and enter the password when prompted. Go to File > Info > Protect Document. If you used Encrypt with Password, click Encrypt with Password again and leave the password field blank, then click OK. Save the file.
If you used Restrict Editing, click Restrict Editing and then click Stop Protection at the bottom of the panel that appears on the right side. You will be asked to enter the password. Once you do, the restriction is removed and you can save the file unprotected.
You must know the original password to remove protection. If you do not, the file remains locked.
When to lock a Word file
Lock a file when you are sharing a final version that should not be changed, such as a contract, a policy document, or a template that others should use but not modify. Restrict Editing is useful for this because people can still read and reference the document.
Use Encrypt with Password when the document contains confidential information — financial records, personal data, legal documents, or anything that should only be visible to specific people. This prevents anyone without the password from even opening the file.
Do not lock a file if you are collaborating with others and expect them to make changes. Locked files create friction in teamwork. Instead, use Word's built-in collaboration features like Track Changes or shared editing in OneDrive or SharePoint, which let multiple people work on the same document while keeping a record of who changed what.
Frequently Asked Questions
Can someone unlock a Word file without the password?
Not through Word itself. Encrypt with Password uses industry-standard encryption that cannot be bypassed without the correct password. Some third-party tools claim to crack Word passwords, but they are unreliable, especially on newer versions of Word. Your best protection is a strong password that you do not share.
Does locking a Word file work if I email it to someone?
Yes. The password protection stays with the file no matter how it is sent or stored. When the recipient opens it, they will be prompted for the password. The protection does not depend on where the file is located.
Can I lock only certain parts of a Word document?
Not with the built-in password feature. Word's locking options protect the entire file or nothing. If you need to lock specific sections while leaving others editable, you would need to split the document into separate files or use more advanced tools like content controls with protection, which is a more complex process.
What happens if I lock a file and then lose the original?
If you only have the locked version and no backup, you cannot recover the content without the password. Always keep an unprotected backup of important documents in a find location before you lock them.
Does password-protecting a Word file make it smaller or larger?
No. The file size stays the same. Encryption adds a small amount of overhead, but it is negligible — you will not notice a difference in file size or how long it takes to open and save the document.