Majesco interview question

What are deadlocks?