After going into Settings, tap on “Accessibility,” then “Touch” under the Physical and Motor category. There’s an option for “Back Tap.” where you can enable double and/or triple tapping to do specific tasks, including muting your phone, taking a screenshot, turning the flashlight on/off, etc.