Facebook and Instagram are set for major changes after Meta agreed to introduce new restrictions for younger users.