This has been an issue since 17.10 and possibly earlier.
FTR: "xrandr" does not work on Wayland.
See if this helps:
Code:
gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true
Additionally, the below command ought/should disable the orientation plugin completely.
Code:
gsettings set org.gnome.settings-daemon.plugins.orientation active false
Also, gnome provides an option to rotate the screen from Settings->>>Devices->>>Displays->>>Orientation setting (search for displays in Activities)
Which you say it dose not work.