lockable functions