As far as I know you can block people from the Messages tab, however you can not completely block someone so they can't see your activity or playlists.
BittencourtSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.