Various forms of immobilisation can make a TRAPAVOID or otherwise immune1 creature fall victim, I think.
Cave-in knock-outs can do this, I can imagine webs (not their own) should do so. Fatigue from efforts (wildlife zerg rush?) might do that.
A long, long time ago, I discovered a trader encaged. I never knew why, or at that time had the wit to try to work it out, but I assume they decided to sleep on a cage-trapped tile. Never noticed them sleeping, but I never did recall any other reason, once I knew enough to want to work it out. Possibly there was fumblingly inept digging that produced a cave-in, nearby, that caught them up in the dust and buffetting at the point they were near the trap.. but it never seemed to match my memories of the situation.
And I've never deliberately weaponised this catch-all, whilst the game continues to be tweaked to possibly debug related bugs and refine intended behaviours, so I am far from the best and most current authority on the subject.
1 Your own dwarves are immune to your own traps (built in ones, that is, not user-concocted ones with pressure-plate triggers configured sufficiently inclusively), as are diplomats, traders, I think other non-hostile visitors. And I believe that traps seen by benificent traders can then be avoided by hostiles that arise from that civilisation after sufficient 'misunderstandings'.