The prime minister announced that under-16s will be banned from social media by spring 2027.