What you're asking for is called "kiosk" mode.
Here's a random app I found: https://www.mackiosk.com/
I don't think this is quite the same thing as a kiosk setup, though depending on your specific goals you may find a kiosk-based solution to be an acceptable alternative.
I don't think this is quite the same thing as a kiosk setup, though depending on your specific goals you may find a kiosk-based solution to be an acceptable alternative.