title: Restrict developers from Code Check-in in TFS 2015
body: <p>We have states as New --> Approved --> In- Progress --> Resolved --> Done where we want to restrict the developers from checking in the code after they have resolved the task and also restrict them from checking in the code when the task is marked as done. "Done" is the state when the QA completes the testing and finds that the task is working all right. Is there any way to set these restrictions in TFS 2015 or Visual Studio?</p>