How can we handle DEADLOCK

Thank you so much guys...