How do I block Youtube from switching?

How do I block Youtube from switching?
How to Restrict YouTube Content?

Launch the YouTube app from the app menu of your Nintendo Switch.
Choose the “Settings” (gear icon) at the bottom of the app menu.
Select “Restricted Mode.” (Highlight the option and tap the “Right Arrow” key).
Select “On” on the following screen and press the “A” key on your controller.

How to Restrict YouTube Content?
  1. Launch the YouTube app from the app menu of your Nintendo Switch.
  2. Choose the “Settings” (gear icon) at the bottom of the app menu.
  3. Select “Restricted Mode.” (Highlight the option and tap the “Right Arrow” key).
  4. Select “On” on the following screen and press the “A” key on your controller.