FPT Software interview question

What is a deadlock in a database?