Lock the folder or file to read only