There is not a specific setting for locking a template. You can restrict the 'Administer Secret Templates' role permission on the Roles screen, so only trusted admins are allowed to edit templates. When deleting a a template field there is a warning confirmation.