Lock while sending chat message