How to block Tik Tok on the router side?
A Google search will show quite a few examples.
How to Block TikTok App on WiFi Router? - YouTube
This is really off topic for Maker Forums, and for this category in specific it’s really not about CNC routers.
I guess if you’re using a ESP32, it technically is a wifi router?