pf2e.fyi
From Pathfinder #213: Thirst for Blood, which isn't enabled.

Trapped Gate

HAZARD 1
Stealth +7 (trained)
Description A hair trigger rings an alarm and launches a small assortment of wooden spikes to impale anyone attempting to open the gate incorrectly.

Disable DC 15 Thievery (trained) to disable the thin trigger that snaps when attempting to open the gate.

AC 16; Fort +10, Ref +2
Hardness 5, HP 20 (BT 10); Immunities critical hits, precision

Impale Trespasser
Trigger A creature attempts to open the gate

Effect A loud alarm rings and set of wooden spikes swings up from below and over the gate, dealing 3d8 piercing damage to the triggering creature (DC 17 basic Reflex save). If the creature takes damage from the spikes, they also become Grabbed by the gate. The creature can attempt to Escape. If the creature succeeded at their basic Reflex save, they gain a +1 circumstance bonus to their checks to Escape, as the spikes didn't fully impale them. If the creature critically failed their basic Reflex save, they take a –2 circumstance penalty to their checks to Escape, as the spikes are embedded particularly deep.
Pathfinder #213: Thirst for BloodORC