A document lock is placed on a template when a user opens it, so only that user can edit the template. You cannot save changes to a template locked by another user. When attempting to save changes to a locked template, you are notified the template is locked and prompted to create a new a template instead.
To save your changes to the template, either the other user must close the template, or the document lock must be removed from within OnBase.