Hi @Barbara Nie,
Welcome to Atlassian Community!
There is no option in Git for locking a tag, and you cannot prevent someone from editing the tag locally. What you could to is add a hook that prevent them from pushing any tag updates to the remote repository. Have a look at this Stack Overflow question for some ideas on how to do that.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event