Fantasy Dungeon Trap Ideas

I’ve always kind of wanted to make one of those stories or games where an adventurer goes through a dungeon and gets slowly physically and mentally changed by its contents. My problem is that I have an end state(s) in mind, and I have changes that would be interesting to make, but I don’t have nearly enough ideas as to how those changes would come about. So I figured I’d crowdsource while I think. Does anyone have any ideas for DnD style dungeon encounters that could have transformative/mindfuck-y effects?

Maybe start with this article which treats s/m both clinically and as enjoyment:

Also look at the See also section.