Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Not sure I understand your question, but you can lock the orientation of the iPad from the control center once you have it in portrait or landscape. Swipe down from the upper right corner in iOS 12 to get the control center. I don't think that there is a way to lock orientation on a per-app basis that is persistent.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.