Hi there,
Thanks for reaching out. What you described could be referring to the old Enhance feature that some users may still have or the new Smart Shuffle. Both serve to add recommendations to playlists so that you can discover new things as you listen. Of course, both can be turned off, just tap the Enhance button or Shuffle button again, depending on which you have. Then only the songs you added will play. Additionally, you might have Autoplay enabled, which will play more similar songs after a playlist ends. You can disable that too from the device settings if you want.
Hope this clears things up.