Locks examples