Use `Folder::protect()` and `Folder::unprotect()` in the file manager (see #5376)