add a lock to creating a role