TFS has a “Reconcile” command for this:
- Open the Source Control Explorer
- Right-click on the folder with the changes and choose Compare
- Select the files you want to reconcile (press CTRL+A to select all files)
- Click on the Reconcile button
- Set the options in the Reconcile Folder Differences dialog. Make sure Files that do not have pending changes is set to Check Out
- Click OK
- If you have local changes the Check Out dialog will be shown. Set the preferred Lock type
- Click Check Out
See also: Reconcile differences between folders