1. Go into Settings on your phone.
2. Tap on the Network & Internet option.
3. Select Hotspot & tethering.
4. Tap on Wi-Fi hotspot.
5. Tap on Set up Wi-Fi hotspot.
6. In this screen, you can customize the name of the hotspot and also the password.
7. Then tap on Advanced and you should see an option on the top for guest mode. Make sure to toggle the option on.
8. Scroll down to the bottom and tap on Save to save the changes.