Use Parental Controls in iTunes to set content restrictions
Using Parental Controls in iTunes, you can turn off access to podcasts, radio, the iTunes Store, Apple Music Connect, and shared music. You can also restrict explicit content from displaying in the iTunes Store.
Set parental controls
Mac: From the menu bar at the top of your computer screen, choose iTunes > Preferences.
PC: Press the Control and B keys on your keyboard to open the iTunes menu bar. Then choose Edit > Preferences. Learn more about menus in iTunes for Windows.
Click the Parental tab.
Select the items that you want to disable and restrict. You can also set rating levels for movies, TV shows, and apps using the menus to the right of these items.
If you want to prevent other people from making changes to your parental controls, click the lock icon and enter the administrator password for your computer. You'll need to enter this password when you want to make changes to what you've disabled or restricted.