是否锁定 = device.is_orien_locked()
是否锁定 布尔型,返回是否已经锁定屏幕旋转锁
if device.is_orien_locked() then -- 屏幕旋转已锁定 else -- 屏幕旋转没锁定 end