Skip this if you're not into beasts
Tips: Befriend and talk with Kinsey. Raise her level to get her to help you.
Ways to escape:
Dig your way out. When you're in the barn look around until you find the mat then you can dig. Raise your friendship with Kinsey and she'll give you a spade to speed that up
Escape out of the vents. Kinsey will show you the map. Have pp girl distract the guard then go into the stall hole and navigate your way out - map below