And to add something to @Chris's good answer, the non conservative friction force is just a macroscopic force which is statistically composed of all the microscopic interactions between surface causing friction and object, their particles (molecules, atoms and electrons). We can't keep track of all of those for each individual particle, too many.
Those forces cause increases in the kinetic energies of those particles. We describe that statistically as increasing thermodynamic temperature (and maybe volume, pressure etc), and causing heat. So the heat created, which is the reason it is not from a conservative force, is just kinetic energies of particles composing the body. The microscopic forces are all conservative, the semi random motion of particles is heat and we count that as the reason for non conservative. Thermodynamics still conserves total energy in the first law of thermodynamics: heat plus work done is total conserved energy.