Microsoft interview question

Creating a situation where a deadlock would happen.