Microsoft Office

How To Lock A Microsoft Word Document

To lock a Microsoft Word document so a password is required to open it, use File > Info > Protect Document > Encrypt with Password in Word for Windows, confirm your password, and save. If people should be able to read the document but not.

Which licences fit your PC setup?

Prices are an AUD snapshot, not a live quote. Confirm variant and total on the listing.

Require a password to open a Word document

Password encryption is the appropriate option when the contents must remain private. Editing restrictions allow people to read the file, so they do not replace an opening password.

Before you start, keep a backup in a secure location and store the password in a password manager. Choose a unique password rather than reusing an account password or using personal details that someone could guess.

Set an opening password in Word for Windows

  1. Open the document in the Word desktop application.
  2. Select File, then Info.
  3. Select Protect Document, then Encrypt with Password.
  4. Enter your password and select OK.
  5. Enter the same password again to confirm it, then select OK.
  6. Save the document so the protection takes effect.
  7. Close the file and reopen it to check that Word asks for the password.

Passwords are case-sensitive. Entering the password opens the file for that session; it does not permanently remove encryption. Microsoft documents this process in its Word password protection guidance.

Set an opening password on a Mac

  1. Open the document in Word and select Review > Protect > Protect Document.
  2. Under Security, enter a password in the option for opening the document.
  3. Confirm the password when prompted and select OK.
  4. Save, close, and reopen the document to check the password prompt.

The Mac dialogue also offers a password to modify the document. Choose the opening-password option when your aim is to prevent someone from reading the contents.

Use desktop Word for password encryption

Word for the web cannot apply password encryption or edit a password-encrypted document. Open the file in desktop Word to use this protection, and make sure recipients have a suitable desktop application before sending it.

If an Office setup problem is preventing you from using Word, the related guides cover Office activation using Command Prompt and finding an Office product key using Command Prompt. An Office product key is separate from the password you create for an individual document.

Restrict changes while keeping the document readable

Use Restrict Editing when recipients need to read a document while its wording stays fixed, such as instructions or a template. This controls editing within Word; it does not make the contents confidential or stop a reader from copying information.

  1. Open the document in Word for Windows.
  2. Select Review > Restrict Editing in the Protect group.
  3. Under Editing restrictions, select Allow only this type of editing in the document.
  4. Choose No changes (Read only) from the list.
  5. Select Yes, Start Enforcing Protection.
  6. Enter and confirm a password, then select OK.
  7. Save the file and check that you cannot edit the protected text.

The enforcement password is optional, but without it anyone can select Stop Protection. Also, the separate Always Open Read-Only setting is a prompt to discourage changes, rather than a confidentiality measure. See Microsoft's explanation of read-only options in Word.

Leave selected text available for editing

You can protect most of a document while leaving space for responses. Before selecting Yes, Start Enforcing Protection, highlight the text that people should be allowed to change. Under Exceptions in the Restrict Editing pane, select Everyone to let any reader edit that selection. Repeat for other editable areas, then enforce protection and save.

Select the areas you want to leave editable, rather than highlighting the text you want to lock. Microsoft's instructions for allowing changes to parts of a protected document explain the exception settings.

Remove protection when you need to revise the file

Use the procedure that matches the protection you applied. Removing an opening password and stopping editing restrictions are separate actions.

Remove the opening password

  1. Open the document with its current password.
  2. In Word for Windows, select File > Info > Protect Document > Encrypt with Password.
  3. Delete the contents of the password box and select OK.
  4. Save the document, then close and reopen it to confirm the prompt is gone.

If you forget the opening password, Word cannot recover it for you. Check your password manager or contact your organisation's IT team before changing or deleting any copies of the file.

Remove editing restrictions

  1. Open the document and select Review > Restrict Editing.
  2. Select Stop Protection in the pane.
  3. Enter the protection password if prompted.
  4. Make your changes and save. Reapply protection before sharing if the restrictions are still needed.

Understand what digital signatures and PDFs protect

A digital signature helps recipients verify who signed a document and whether its contents have changed since signing. It does not hide the text. Adding a signature line alone does not digitally sign the file: the signer must complete the signing process using a signing certificate. Microsoft's digital signature instructions cover both stages.

Saving as PDF preserves the document's presentation for sharing, but conversion alone does not lock it or prevent editing. If the PDF must require a password to open, apply encryption explicitly. Word for Windows offers Encrypt the document with a password in its PDF export options; Microsoft's PDF export guidance explains where to find it.

For other Word tasks, browse the Microsoft Office guides. Before sharing this file, reopen the exact copy you intend to send and check that its password prompt or editing restrictions work as intended.

Other editions for separate workloads

Other editions for separate workloads; prices in AUD, confirm the total on the listing.

How to check this worked

  1. Open Settings, System, Activation and confirm the edition shown.
  2. Enter the key and run activation; expect a green tick within a minute.
  3. Reboot and re-check activation survives the restart.

FAQ

What else should you know before buying?

What do I need before starting?
Read the requirements and confirm the edition first; the steps assume the machine is compatible.
How do I know the licence is genuine?
Activate on Microsoft's servers and check Settings, System, Activation. A working activation is the test.
Is this a subscription?
Keys sold here are one-time lifetime licences. Microsoft 365 plans are billed by Microsoft instead.
What if the key fails?
Email hi@ms.codes with the order number and a screenshot. Replacement or refund applies within 30 days.

Check who prepared and reviewed this guide

Written by
MS.Codes editorial
Reviewed by
Support team

Last verified: (source review; see test status above).

Recent Post