Work with version control locks
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Visual Studio 2019 | Visual Studio 2022
When you use Team Foundation Version Control (TFVC) to manage files, you can lock a file or folder to prevent it from being checked out and altered.
For more information, see any of the following articles:
- Understand lock types: Explains the various types of TFVC locks that you can apply against the source control server, and shows how to use them.
- Lock and unlock folders or files: Explains the steps that you can use to lock and unlock source control items.
- Use Team Foundation version control commands: Explains which TFVC commands to use for applying and removing locks, managing workspaces, developing apps, and other tasks.