just working on recreating things like that. A simple deadlock is not hard. just use two diff records
user/program 1 creates a transaction and finds rec 1 and waits
then user/program 2 creates a transaction and finds rec 2 and waits
now user 1 tries to find record 2 (will get stuck of course waiting for user 2)
now user 2 tries to find record 1 and will get stuck waiting on user 1
after a timeout one of the two will be chosen as the deadlock victim and its transaction is retried or cancelled and the other users transaction will finish