Lithium Grease is the best grease on the planet! I use it on all my guns. It resists heat, and build up better than just about anything out there. And can be used on anything with moving metal parts.
I have used common Hi Temp automotive grease (the red stuff) to great effect.
It seems to not burn off, not attract dust or dirt like oil and after almost 1000 rounds of nasty Russian ammo through my Taurus PT92 it is still smooth as silk.