Add a lock option for each .md file

Add a lock option for each .md file, which cannot be modified after locking and only allows modification after unlocking

Please search before posting. Thanks!