Compatible with iOS 9, 10, 11 and 12 Whenever you rotate your device, a button will be displayed on the screen allowing you to either undo rotation, lock orientation or both. Configure options from Settings.
See larger Screenshots below..