Playing around with locking