How do I encrypt a Writer document

I want to encrypt a Writer document. How do I do that in Libra Office?

Hello,

File -> Save As and check option [x] Save with password or [x] Encrypt with GPG key

image description

Ref.:

[1] - LibreOffice Help - Protecting Content in LibreOffice
[2] - LibreOffice Help - Encrypting Documents with OpenPGP

Hope that helps.

@neilcs: be also aware there is absolutely no way to recover the password once the file has been encrypted