Change Restrictions preferences in iTunes on Mac
In the iTunes app on your Mac, use the Restrictions pane in iTunes preferences to restrict or prevent access to the iTunes Store, shared libraries, and certain types of content. For computers with multiple user accounts, you can set different controls for specific users but still allow unrestricted access from administrator accounts.
To change these preferences, choose iTunes > Preferences, then click Restrictions.
Note: Before making changes, you must click the lock and type your administrator password (or use Touch ID).
Prevent access to certain parts of iTunes.
Choose the rating system for the country or region you’re in.
Show content ratings in library
Display or hide Explicit ratings for items in your iTunes library.
Restrict access to items in the iTunes Store by ratings and type of content. The password is required for previews and purchases of restricted items when you click the lock to prevent further changes.
Click the lock to prevent further changes
Prevent unwanted changes to restrictions by requiring an administrator’s password (or Touch ID) to unlock.