All documents that are saved in xml format can be saved with a password. Documents that are saved with a password cannot be opened without the password.
If you encounter the enter password dialog (see below) when opening the document in OpenOffice.org, it means that the document is password-protected.

If an opening password is set, a strong encryption method is used, so the password generally cannot be recovered instantly. However, with OpenOffice Password Recovery’s unique methods, in most cases passwords are recovered very quickly.
Turning on protection |
Choose File -> Save As and mark the "Save with password" check box. Save the document. |
Turning off protection |
Open the document, entering the correct password. Choose File -> Save As and clear the "Save with password" check box. |