This can be tricky for magic traps. Here's an article that can be useful for this.
thealexandrian.net/wordpress/1290…
thealexandrian.net/wordpress/4238…
Framing things using fortune in the middle techniques is useful here, but any trap that presents the PCs with new situation or dilemma is gold.
thealexandrian.net/wordpress/3857…
For example, imagine a trap that causes anyone walking into a 10' square to fall into a magical coma. Somebody walks in, falls unconscious. Somebody goes to help them; BAM! Unconscious.
See also slowly flooding rooms, a confusion poison that makes the victim attack their friends, a trap that releases monsters for them to fight, etc. etc. etc.
So also avoid the simplicity of "Disarm Device check = trap no longer exists." Know what the check (if any) actually represents!