Mexico's president Claudia Sheinbaum has signed a decree ordering digital platforms to protect children from accessing harmful content.