Pergunta de entrevista da empresa UiPath

What is a deadlock in threads?