Why not ask this in respective LineageOS thread (14.1 or 15.1?) instead of opening a new one?
Default orientation is forced on these builds (
https://github.com/lineage-rpi/android_ ... ig.xml#L61). This can be overriden with a system property (config.override_forced_orient=true). I've been told third party apps work fine (Set Orientation, etc).