Protect critical files by marking them @readonly. Prevent commits unless files are unlocked with @unlock.