Siemens interview question

They asked about deadlock and its solutions