Change in ovirt-engine[master]: core: Add validation for locked template