As a dog, what will you do when your master just forsake you.
i'm stuck on the part with the sheep
open the gate, then bark at the sheep and lock your self in (you lock the door the same way you opened it)
and for the other way you lock the sheep then go in the house.