Teleportation

Malor
In the early Wizardry games of the Lylgamyn Saga, characters can teleport using MALOR, a Level 7 mage spell. When used in camp, coordinates of movement (not ending coordinates) are input and characters are teleported to a chosen spot. You can accidentally teleport into solid rock--making your party of nigh-indestructible Lords and Samurai Lost Forever.

If the Malor spell is cast in battle, the party is teleported to a random location on the same floor. This will never result in teleporting into a trap or solid rock.

Teleport Trap
Teleportation might occur involuntarily by triggering a teleporter trap in a treasure chest. This results in the party being teleported to a random location on the same floor. This will never result in teleporting into a trap or solid rock.

I have been teleported into a 1x1 room on the 3rd floor of the Maze in Wizardry V that was an otherwise unreachable location that I would have thought was solid rock. The only movement allowed was turning around, and there were no secret doors. If I did not have Loktofeit those characters would have needed a Lv13 search party rescue (I wasn't lucky enough to find a second teleporter trap).