Aspose::Words::Document::Protect method. Protects the document from changes without changing the existing password or assigns a random password in C++....changes, such as adding annotations, making revisions, or completing...changes, such as adding annotations, making revisions, or completing...