Lock message object for serializer, add doc about it