add lock to mq node when put or get data