pf2e.fyi
From Pathfinder #155: Lord of the Black Sands, which isn't enabled.

Stabbing Sentinel

HAZARD 18
Stealth +35 (master)
Description A petrified creature momentarily animates to attack an adjacent creature.

Disable DC 40 Thievery (master) to remove the animating magic without triggering the trap, or Dispel Magic (8th rank; counteract DC 38) to counteract the animating magic

AC 41; Fort +36, Ref +27
Hardness 30, HP 120 (BT 60); Immunities critical hits, precision

Animated Attack (attack)
Trigger A living or undead creature moves within 5 feet of the stabbing sentinel

Effect The stabbing sentinel animates, making one Strike against the triggering creature.
Petrification Overcharge

On a critical hit, the target is Petrified for 1 round. Additionally, if another stabbing sentinel has already been triggered, that sentinel immediately resets. If no other stabbing sentinels have been triggered, then another random statue in the room becomes infused with animating magic and becomes another stabbing sentinel hazard (to a maximum of four at a time).

Melee Blade +38, Damage 6d12+40 piercing plus Petrification Overcharge
Reset The magical energy that animates the statue builds up again over 24 hours and the trap resets.
Pathfinder #155: Lord of the Black SandsOGL