Flexible locking.