The lecture just tells me Blender will delete a material for me if a material isn’t used in the scene, after saving and reopening the .blend file.
I looked up how to delete a material completely, and not just from the object’s material list. Going to the outliner in the right-top corner → Display Mode → Blender file will give me an overview of what is all in the project, including the materials. This seems to be the way to delete materials. Or is there a different way to do this as well?
I was also wondering what the “Dots Stroke” material is that appears in this list. Deleting it doesn’t seem to affect the scene (yet).