One often stores sensitive data within their files, and the most secure way to make sure that this information is not accessed by unauthorized users is to encrypt or lock the respective documents.
There are numerous specialized utilities that can be used to prevent other users to access a certain file.
Typically, the file owner or creator will be required to specify a password that needs to be powerful enough so as not to be broken easily.
These applications will offer users the possibility to lock a wide range of documents, including text files, images, videos or songs.