tweaked pessimisticLocking.gdoc