Thinking about the use of this common trope in popular culture, I wondered how it originated, if it is somewhat historically reliable. Were mechanical traps such as arrows or sliding doors used to protect ancient temples against looters?
There's always room for discussion, but perhaps the section Were/are there actually tombs filled with deathtraps? from our FAQ will answer your inquiry.