But if you are grabbing several locks be careful about
what order you do it in. If programs X and Y grab locks
on tables A and B respectively, and then try to lock B
and A, they get into this pathetic staring contest called
a deadlock. This is generally a Bad Thing...