How to block wifi or data signal iPhone

Hi
Is there an app or way to block WiFi or data signal?
My child wants to have some game apps unrestricted that don't need data or WiFi to run.

I want something that will either block or lock the phone if connected to internet.

Any ideas please?
Welcome to iMore! In settlngs, toggle on airplane mode.

Original thread: https://forums.imore.com/threads/how-to-block-wifi-or-data-signal-iphone.389260/