| title | Work with version control locks |
|---|---|
| titleSuffix | Azure Repos |
| description | Use Team Foundation Version Control locks to prevent others from checking out a file or folder. See resources on lock types and locking commands. |
| ms.assetid | 097adb8d-9509-48bb-804e-37456ff80ee8 |
| ms.service | azure-devops-repos |
| ms.topic | overview |
| ms.date | 11/10/2022 |
| monikerRange | <= azure-devops |
| ms.subservice | azure-devops-repos-tfvc |
[!INCLUDE version-lt-eq-azure-devops] [!INCLUDE version-vs-gt-eq-2019.md]
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.