After you give the Relic to the lich, something should start happening. Some others will appear in the room, there's a bit of dialogue, etc. The lich should leave an item behind for you. The room exit should re-open. If this doesn't happen, you can try attacking him and waiting to see if the dialogue will trigger. You can also try propping the door open with a large object (necessary if you want to kill him, or if the door simply doesn't open back up). It's also possible to leave a portal near the dungeon entrance before handing in the relic, since your indoor portals are stored differently than exterior. If all else fails, this dungeon is not actually necessary (to complete the game) if you acquired the Mavin.
Post edited March 26, 2019 by Lysanafae