In macOS, as in Windows, there are many easy ways to secure user data. When working with documents and other files, you may need to protect them from accidental deletion or modification.
For example, when you have completed work on a document and do not want to lose or accidentally change this particular final version. macOS has everything you need to protect important files.
How to protect files and folders from accidental deletion
- Right-click and choose “Get Info” or press “Cmnd” + “i”;

- Put on the “Locked” box;

- When you try to delete such a file, macOS will notify you that the file is protected and will ask for confirmation of the action. Protected files have a lock icon.
Read more: How to Protect Zip Files in Mac with Password?
How to protect files or folders from accidental changes
- Right-click on a file and choose “Get Info” or press “Cmnd” + “i”;
- Put on the “Locked” box;

- When you try to open such a macOS file, it will automatically create a copy of it and open a copy, and the original will remain untouched. Thus, even the possibility of changing it is accidentally excluded.
Conclusion
You can unlock files in reverse steps. It’s very nice that Apple developers took care of their users not accidentally losing important files.
Surprisingly, but Mac users do not use file and folder protection!
In practice, I made sure that it was impossible to neglect this function by the operating system, because several times I deleted very important files that I later had to restore from scratch. After this, you will become more attentive to the organization of security files.
It’s the best time to ask questions and give us your feedback in comments.