I believed grease what slides- plain lithium grease and oil what pivots- Ballistol more often than not. Always wrks fine so, like with too many reload recipes, I figured- Hey its perfect, why not tinker with it!!!
For pistols it's oil for both. For rifles, a very small amount of grease on the bolt locking lugs can be a good thing as long as you remember to clean the locking area inside the receiver periodically.
Grease is good for Garand, M14, M1 Carbine, and Mini 14 slides where the bolt lug head goes into the slide. Otherwise, it's oil most everywhere else.
For firearms, we want oil because oil will carry the debris out of the action, rather than hold it into the action like grease does.