So you use Android system settings and not select a lock.
How do you expect to work, unless select an orientation?
“Sensor” tries to override system limits (by OEMs).
(for details check the related feature topic)
“System” is default and does not cause any trouble.
(like most users expect the app to work)