This section describes how to lock a file or folder to prevent it from being checked out and altered. You lock a file or folder using Team Foundation version control locks.
Explains the various types of locks that can be applied against the source control server and how to use them.
Explains the steps used to lock and unlock source control items.
Team Foundation Version Control Command Reference