These come into my mind:
and don‘t forget pressuring plates to trigger the trap.
Those already exist... Both on the floor and on the walls...
Poison!!! I forgot poison traps... Thanks!!! :)