For TikTok specifically, I would suggest to use that Apps Parental Controls as it it much more comprehensive then not only restricting Screen Time. In addition to the Screen Time, you can restrict who the child can communicate with and also the content they can view in their feeds which currently may be inappropriate.
TikTok Parental Controls
The heavy handed approach for a child looking to bypass the settings is to remove the App, then prevent them from downloading it again by going to Screen Time > Content & Privacy Restrictions > iTunes & App Store Purchases > Installing Apps.
For platforms that also have access to their content by viewing a web page without needing an app, you can block access to that website. In the section here called Prevent Web Content, there is a section where you can block access to a specific website.
Use parental controls on your child's iPhone or iPad - Apple Support
Make sure all devices are updated to the latest software they support. Where loopholes have been found, Apple has included the fixes in Software Updates. Even with everything set correctly on the device, there are other workarounds such as using Zoom to call a friend and the friend can allow them to control their screen to use any app on their device.
For a child determined to defy your wishes, there are still flip phones that cost very little and it is amazing how cooperative they become with the thought of showing up to school with a flip phone.