The president also said his successor would face blowback from the Republican Party if he tried to unwind the Biden agenda.