Pergunta de entrevista da empresa ClinicMind

Describe a deadlock. What causes it? What are the effects?