Look in the blacksmith, there a lot of "Idle AIs", and most freeze soldiers.I think you would still have to make sure that's no enemies get near the elephant, he would walk away then, even if controlled by a "idle AI".But you don't really need a AI for this.You could just make a looping freeze trigger, and set it on the elephant, that would be easier.
I'm sorry about my bad English.