Elden Ring (and all the Fromsoft games) have plenty of humour, it's just physical comedy. Think of all the times you thought you were safe and then got bonked by some random arrow out of nowhere and fell 1000 feet to your death. You might not find that funny, but I've definitely laughed at myself plenty of times.
Re: the "door was never locked" puzzle; I actually pulled this same trick against my players in a table-top RPG session I ran for my friends once. They were presented with a complicated interface full of buttons, an ominous timer, and a locked door; pressing any button would zap them with electricity and deal increasing amounts of damage to them. None of the buttons opened the door, it opened automatically when the timer ran out.
Obviously this isn't "good game design" in the way that, like, Slay the Spire has good game design because all of the numbers are perfect... but it was certainly a memorable moment. And that means something.
Usually I go with some form of regeneration since that what trolls are known for. I actually like having enemies having the ability to heal and making it matter and have combat be built around it. My first troll was the starting boss of a game to introduce that elements aren't a weakness chain but an effect system. Trolls aren't "weak" to fire, but the damage-over-time effect of fire attacks offsets the high healing-over-time the troll has, so you have to balance using your (currently) weak fire magic and your strong physical offense.
I also remember having a troll actor join the party. Again, high regen rate. The troll didn't have the defense capabilities of some tanks (bad armor options) nor the bursts of stopping damage of other tanks (such as superior Defend options or the ability to auto dodge the first attack in combat), but it helped largely offset resource costs of keeping the party alive which saved on money (buying less potions!) and let characters that need that MP use it for other things.
Another developer I know didn't go with traditional troll things, but instead focused on their subtle shapechanging powers. Troll enemies could change color under certain circumstances indicating a growth in strength. And then later you would run into the stronger color ones changing into even stronger colors. Further, trolls were still "tough" by simply having deep pools of HP.
The only "troll mechanic" i have is that i say "Conditions to Perform Ultimate Attack: Perform at least two attacks in a row" (avoiding my own game terms for the sake of simplicity) and guess what?
You can perform the Ultimate Attack whenever you want, there are no conditions.