Simple web-filters often cannot do the job on YouTube, because YouTube is one big web site. To deny access to certain kinds of content, a worthwhile route is Group Policy for Chrome and Edge, to require YouTube restricted mode:
www.thewindowsclub.com/how-to-enforce-youtube-restricted-mode-in-chrome
www.thewindowsclub.com/youtube-restricted-mode-in-microsoft-edge
This plus cleanbrowsing.org DNS, seems to do the job very well.