TWRP is a “Recovery” rather than an app ! TWRP | FAQ. You might try some reading here to get more familiar with things. Know your hardware - Samsung
There is another thing involved here. /e/ solution shop phones were delivered with Android version Oreo. The 0.22 OTA was actually an OTA Android version Upgrade to Android 10.
TWRP
If lost, keep using the back button till you reach the first screen (Home).
To get out of TWRP > Reboot > System
To Factory Reset > Wipe > Swipe to Factory Reset.