Microsoft Interview Question

Creating a situation where a deadlock would happen.