I know that we can lock a branch in Azure Repos so that users can't push changes to it. Can we lock a particular file inside the branch so that it cannot be changed by other users?
Or can this be done in visual studio - team explorer? My current source control plugin is Git.