The social media platform is following in the footsteps of other digital companies and setting guardrails for teenage users.