Locked provisioning template should not be allowed to add audit comment
The bug is completely identical to:
but for API (and possibly CLI).
Steps to Reproduce:
1. use API or Hammer to update a locked template and add a comment to it
notice the update is updated audit record regarding created audit comment is created
Error message should be retrieved saying that user is unable to update locked templates.