iPads have a built-in feature for exactly this: Guided Access, found under Settings > Accessibility, which restricts the device to one app and lets you disable specific hardware buttons and screen regions until a passcode is entered (Apple Support, Guided Access). For a single show, Guided Access is normally sufficient — it is quick to turn on and off per device. For a business running many kiosks across many shows, some teams instead use Single App Mode via device supervision (Apple Configurator or an MDM), which persists across reboots and disables more hardware controls, at the cost of needing device supervision to be set up first — usually only worth it once you own more than a couple of dedicated kiosk tablets.
Android tablets have a built-in equivalent called screen pinning — on stock Android, it's under Settings > Security & Privacy > More security & privacy > App Pinning, after which opening the recent-apps view and selecting the pin icon locks the device to that one app until it's unpinned (ManageEngine, Android screen pinning). Same tradeoff as iOS: fine for a single show, worth upgrading to a managed-device (COSU/kiosk) mode only once you're running several dedicated kiosk tablets long-term.