Pergunta de entrevista da empresa Genesys

What is a dead lock and how do you prevent it