I always have a problem when I know that my hand is going to win or at least tie. What is better, going all in and risking scaring the opponent(s), or pretending to be scared and check hoping they will raise?
If you have a hand where you can't lose; the goal becomes maximizing your win. If enemy has a decent hand, they will bet it, unless it's an all in. To lure them in, perhaps a very small, almost scared raise? A decent hand will usually match your small bet, at the least.
If it plays out right, enemy raises your small bet, you could see and raise, if you have the nuts.