engine: switch from lock to role lease
registry: remove dead locking code