Earlier, the company had asked staff to remove the TikTok app from phones over “security risks.”