See https://phabricator.kde.org/D28115 for API introduced for this.
Can the locked icon be set based on the orientation it was locked in? For example, a landscape icon when locked to landscape and a portrait icon when locked to portrait.
Do we have such icons somewhere?
Now we do R266:48a112fb64dc
yes, as of a minute ago. rotation-locked-portrait and rotation-locked-landscape