Set Orientation Lock Notes Sets the state of the devices Orientation Lock. Syntax setOrientationLock(state: <#Boolean#>) Example setOrientationLock(state: true)