I don't put traps in for their own sake. They get put in scenarios by inhabitants who are trying to defend themselves, and how good they are definitely depends on the resources available.
One of the simplest, but most effective was a large net, coated in pitch, and hanging from a ceiling. It...