Use the Team Foundation Lock Action to lock a set of files against check in or check out.
Specify a working folder for the action. The working folder specifies the context for the Team Foundation server, project and repository (working folders can be configured in Visual Studio or with the Map Working Folder Action.) You can use the default working folder from the Options, or a specific folder for the action.
Files and Directories to Lock
Specify a list of files and directories to lock. Put each file/directory on a new line. Use wildcards (*) to specify groups of files.
The action can be locked against checkins from other workspaces, or against both checkins and check outs.