CameraMatics interview question

Explain what a deadlock is