I would make a new skeleton (rename it as MyModSkeleton01, or something; save it as a new form). Make sure it is checked as esential.
It won't die then, if this can be done for skeleton actors.
However, if you want only immune to bows and arrow missile attacks, that is beyond my scripting expertise.