cookable and locking plain locking strategy