Without sounding like a dick … I totally would have let one of my old flat mates chill for a bit! No immediate danger there, and potentially kinda funny, but yea every situation is different.
The more worrying thing is the alarms button seemingly does nothing
It’s all in the eye of the beholder. I once had a friend trick me into running barefoot through a few cactus patches. We’re still great friends to this day.
Lowering the risk of a situation, ignoring the potential panic of your "friend", all of it for some laugh... Sure sounds like a solid example of being a dick.
Note that I'm doing evidence-based work and hypothesis, in no way am I being judgemental. We're on HN, after all ;)
I used to have a friend who, whenever he was going to say something incredibly rude to people, would preface his remarks with the statement "I don't mean to be rude but..."
How did you conclude there is no immediate danger? There is something obviously wrong with the elevator. What if it plummeted down and someone died? Even a couple of floors can turn out badly.
There are a million reasons for them not to be available.