extract lock from framework to executor