dead lock demo