After selecting a material, you can add the material to 「Local」 in the material inspector panel, under the material name.
To add the currently selected material to the local library, you can find the saved material in the "Material" drop-down menu in the "Assets" > "Local" tab of the navigation bar.