No, most traps like the ones in the movies would break down and become useless after many years.
Tombs in Egypt would often have large stone doors designed to drop in place and block passages, but these weren't just left dangling to fall on intruders. They were dropped once bodies and belongings were interred in the tomb, attempting to seal the passages forever. They obviously didn't work that well.
Emperor Qin's tomb in China is still sealed, and is fabled to have crossbows at-the-ready and rivers of mercury. The bows, if present, wouldn't likely work, as they would have either broken down over the years or have no elasticity left in the bowstring due to being held in the ready position for so long. There is evidence that there is mercury in there though, since "probes revealed abnormally high quantities of mercury, some 100 times the naturally occurring rate." I guess this could be considered a biohazardous "trap", although the presence of the mercury was more likely for decoration than defense.