Opening landscape page from portrait by rotating phone

Is it possible to lock a page to portrait but still trigger the on change event?

Im trying to use the rotation to open another page that is landscape, but it would be nice to keep the portrait page in portrait.

Similar should happen when closing the landscape page, ie making it portrait will close the page but the closing page should remain landscape