The key you picked up that triggered the appearance of the teleporter pyramid should open the locked door just east of where you end up after being teleported (the door to 6 on this map).