Start by melting butter and granulated sugar in the pan. Stir to combine. As hot mixture starts to become golden, add the walnuts. Stir and flip walnuts until they're completely coated in caramel. Transfer to a lined tray. Separate with rubber spatulas or rubber-tipped tongs.