FlatexDEGIRO SE interview question

What is deadlock in multi-threading?