ERNI interview question

[Tech] What is a deadlock and how do you create one?