I have written two articles on the web filtering options you have with Defender for Endpoint:
I’ve combined both of these into a video:
https://www.youtube.com/watch?v=M8sQEZDG2cA
which hopefully summarises things and let’s you see how to configure both of these.