A nifty little encounter appropriate for any powerful sorcerer/magically adept monsters lair.
When the party have penetrated to an appropriatly impressive level/room they encounter The Door, this door is a vessel through which the Sorcerer/Monster can safely work against any intruders, the door is heavy duty iron bound studded oak wrought with craft skill and magic, set in the middle is a crystal orb, once the party get within a preset distance the orb flickers briefly as the door warns its "master" of the intruders, the master can then effectivly possess the door itself, this means that all movement the door is capable of (i.e. opening and closing) come under the control of the master, the master can also cast spells from the door as if he were there himself, all the while any damage that is inflicted in return merely damages the door, this will in effect ruin any of the parties chances of surprise, allow the master to assess the parties abilities while remaining safe and sound and finally will probably cause the party to waste some of their juicier items/spells on a chunk of wood and iron, and if the master happens to have a deadly spell or three it could also reduce the size of the party,
Of course if you wanted to be really nasty you could have the door open to admit one person and then slam shut on the second person (squish) whilst blasting away with every spell in the mastrs repetoir
If a fighter has a +1 sword that only gives that plus one if he does an exhausting practice routine in the morning, he's liable to ditch the magic sword and just use an old fashioned chunk of steel. Rather than being wore out and need to rest a couple hours before he gets started just in case he needs that plus one, he could just strap on a blade and ride off without having to deal with all the issues. (From Something Agar said)