Murf.AI interview question

Write code to create a deadlock