Step 4. Click on your profile icon at the top-right-hand side of the YouTube home page.
Step 5. From the drop-down menu that appears, click on the ‘Restricted Mode’ option.
Step 6. Toggle ‘ON’ the ‘Activate Restricted mode option, and you are done.