When the full house comes from a set (say I'm holding 22 and the flop comes 882) I'm probably not laying it down. That said, if an 8 comes up on the turn, suddenly your boat is counterfeit and at risk of losing to any other pocket pair. If you don't fold in this case... be prepared to get stacked. This happened to me a few days ago
In general a higher pair on the board is a bit of a 2-edged sword for a set. You dont need to worry about losing to a straight or flush, but it does create some bigger boats, that can be more or less likely. On 8829A for instance, AA, 99, A8, 98 and 82 all made a better boat. So depending on, how the action went down, maybe you dont always have to stack off with 22.
Ot to take a more extreme example, where you called a 3-bet with 88, and the board runs out AQ8KA. This board absolutely smash the 3-bettors range, and if he is a nitty guy, or you are deep, folding could be a reasonable option on the river.
If on the other hand the pair is lower than your set, like having 88 on 8229A, then you only lose to 99 and AA, and I would pretty much never fold for 100BB or less.