What is the force called the resists the movement of one surface past another surface called?

I'm not sure if you are talking about friction or not. Does this force produce heat?

Friction, I think