Well, you could use the replace trigger. Just make an identical unit, just with different armor type and then, when your hero learns this ability(or upgrade) use the Unit - Replace YOURUNITHERO with YOURUNITFORTIFIED where yourunithero has hero armor and the other fortified.
You could also mess with the orc burrow upgrade(think it's named barrage).