On mobile, (not sure about pc) you can put helmets on them.
RIP to those spinos who saw my direwolf as a snack and only did 10 damage to it due to its 470.1 armour helmet xD