The document discusses using a phase transition in a substrate material to dynamically control friction. A molecular dynamics simulation models a 2D solid with a structural phase transition. It finds that the friction coefficient is non-monotonic near the critical temperature Tc, peaking at Tc. Below Tc, different substrate polarizations result in different friction forces, but this difference disappears near Tc. Increasing load makes friction more sensitive to polarization. The peak in friction at Tc occurs because thermal activation helps the tip kick atoms out of potential wells, aiding dissipation. Near Tc, substrate property correlations diverge, increasing damping and friction.