You can't lock a project so that it can't be changed but you can save it as a template so that it is impossible to overrite the original file without directly replacing the file with another one. Is that what you are asking?
Yes I said the same problem. If you help me I would be very glad.
Information about template projects is in After Effects Help, here: