How do I password protect a LibreOffice Document?

Using PC 64 windows 10 with most recent release of LibreOffice. Have data on a document that I need to protect from intruders online. Please advise?

For an existing document, File | Save as and check Save with password; - for a new document the option is also available in the Save dialog; you will then be prompted for a password. Please read the password dialog box carefully!

PS: Hint - don’t check the community wiki box when asking a question

If this answer helped you, please accept it by clicking the check mark :heavy_check_mark: to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

Timely and resolved my question.