You can lock the screen rotation on your iphone by turning on the portrait orientation lock mode. Swipe up from the bottom of your screen and tap the circle icon with a lock symbol.