CompositeMessage is now passwd as value.
Lock the room when converting to proto representation.