pf2e.fyi
From Pathfinder Society Scenario #1-11: Flames of Rebellion, which isn't enabled.

Collapsing Barricade (1-2)

HAZARD 3
Stealth +10 (trained)
Description A tunnel through this steep barricade is rigged to collapse. If a kobold spends one action to throw a lever, the tunnel collapses on the next creature to pass through.

Disable DC 18 Thievery (trained) to carefully trigger the collapse without entering the tunnel or DC 22 Thievery (trained) to brace the tunnel so it is safe to pass through.

AC 21; Fort +12, Ref +6
Hardness 10, HP 40 (BT 20); Immunities precision, critical hits

Collapse
Trigger A creature crawls into the tunnel in the collapsing barricade after the trap is activated with the lever

Effect The barricade collapses on the creature, who must attempt a DC 22 Reflex save.

Critical Success The creature takes no damage and escapes the barricade, emerging into a safe space on either side of it.

Success The creature takes 1d6+2 bludgeoning damage from collapsing debris and 1d6+2 slashing damage from broken glass before emerging on the opposite side of the barricade from the one they entered.

Failure The creature takes 2d6+4 bludgeoning damage from collapsing debris and 2d6+4 slashing damage from broken glass before emerging on the opposite side of the barricade from the one they entered.

Critical Failure As a failure, and the creature is Immobilized beneath the barricade until they or another creature succeed at a DC 22 Athletics check to pull them free. They can still be targeted, touched, and otherwise interacted with by creatures on either side of the barrier.

Pathfinder Society Scenario #1-11: Flames of RebellionOGL