add a lock for route emitter

[#79469952]