Implement worker locking