As of now, there is no feature to filter explicit songs on Spotify. But in the Idea Exchange, there is a thread for that. https://community.spotify.com/t5/Live-Ideas/Explicit-button/idi-p/3869
Hey there you,
Yeah, you! 😁
Welcome - we're glad you joined the Spotify Community!
While you here, let's have a fun game…