Tiktok has announced it will impose a time limit on accounts belonging to people who are under 18.