I locked the orientation of my iPad upside down because I’m charging it and the cable would be in the way while using it.
I noticed one app* does not “respect” this and displays in the “classic” orientation. The moment I open it it shows like that including the system items like the date, time, Wi-Fi signal and battery percentage. Even the system swipes from down for the Home Screen , from up for notifications or upper right for control centre are all upside down. When I return to Home Screen everything returns as it was (as I set in control centre). Other apps work normally.
I noticed similar behaviour with Skype on my iPhone, not sure if related.
* it is a country specific app, not well known: https://apps.apple.com/si/app/zpstest-mipor/id1143544487