All the movies I’ve seen with pyramids in them end with sand coming into the main chambers and burying people alive to “Seal the tomb”.
Maybe it’s just the chamber that held the sand until it was time to pull the keystone/cord/switch.
TV would be so much funnier if you guys were the writers.
Or something similar.