Consolidate by Guarding Intrusion Squares

I tend to lose a good amount of games in which I’ve obtained a clear advantage. What usually happens is that I am low on time and miss more or less immediate threats posed by my opponent. To avoid such frustrating losses, a chess club colleague of mine suggested that I make general consolidation moves before pressing the advantage. One example for such a move is Kg2 in the position below. Rather than giving Black an opportunity to invade the king’s vicinity with devastating effect, White protects the intrusion square h3, solidifying the King’s defence and forcing Black to come up with a less direct attacking scheme.

Of course, the chunk that’s shown in this gif is related to a common mating pattern of Queen + Bishop, e.g. this one: