To set a password to open a document, follow the steps below:
1.Open the document you want to protect with a password.
2.Click the
button and run the Set password command from the main menu.When working in macOS, you can also run the File > Set password command from the command menu.
3.In the Set password window that appears, enter a password for the document and confirm it.
in the corresponding input field.4.Click OK.
Once the verification is successfully completed, you will see a notification confirming the entered passwords match. Save the document to confirm the changes.
Next time the document is opened, you will be requested to enter a password prior to displaying the document content.