There’s already an existing suggestion discussing an option to automatically tag explicit songs (or manually flag songs) — with an option to filter those. I suggest you comment/vote in that thread in order to help us avoid distracting or cannibalizing votes.
Unless there’s something unique in this suggestion, I’ll close it as a duplicate.