Lock / Unlock is a very simple and efficient script to convert the TYPE ressource of a text file from "TEXT" <=> "ttro". Thus, it keeps the file in read only mode ("ttro") or unlocked it to be edit and changed ("TEXT"). IIt’s a droplet, so you just have to drop the file on the script icon.