Head to Settings > General > Accessibility > AssistiveTouch and toggle on the "AssistiveTouch" option. Now, go to Customize Top Level Menu and add the "Rotation Lock" feature to Control Center.