I think i may have resolved it, but may have to monitor for a bit more
When you have your keyboard on, the Rotation Lock will be grayed out.
Try the below
- remove your keyboard
- set "Rotation Lock" to on
- reattach your keyboard
See if there's any more issue after that.
Good luck, seems to have fixed my issue