Improve the recursive lock example to actually show locking behaviour