If you need to configure your iPad for public use, the below steps will show you how to put an iPad into “Kiosk Mode”
Step 1: Open the Settings app;
Step 2: Navigate as follows: General > Accessibility;
Step 3: Click Guided Access (found inside the Learning section);
Step 4: Switch Guided Access to ON;
Step 5: Choose Passcode Settings;
Step 6: Setup a Guided Access Passcode.
Now anyone on the device will have to enter a passcode (and this passcode is necessary to exit Guided Access once activated.)