pf2e.fyi
From Pathfinder Kingmaker, which isn't enabled.

Explosion Bear

HAZARD 20
Stealth +38 (legendary)
Description An invisible rune causes the animated bear to explode if it is destroyed or if it finishes its dance while anyone is in the room.

Disable DC 48 Thievery (legendary) to erase the rune without triggering the explosion (the DC is increased to DC 51 Thievery while the bear is moving), Dispel Magic (10th rank, counteract DC 39) to counteract the rune, or Nyrissa says the words "Good bear" to the trap before it finishes its dance.

AC 20; Fort +8, Ref +14
HP 40 (BT 20)

Fireball (fire, magical, trap)
Trigger The animated bear is reduced below its BT, or it finishes its three-round dance while there are still people in the room

Effect The rune detonates into a blast of fire centered on the bear. All creatures within a 20-foot radius of the center of area K6 take 16d10 fire damage (DC 42 basic Reflex).
Pathfinder KingmakerOGL