in PnP Undead are supposed to be immune to stun but in this game you can stun them. Different undead and those ghosts in end game are stunnable.

Another creature from PnP that is immune to stun are Elementals and I did notice they are immune to it in this game but for some reason undead are not.