This demo shows how to use the Screen Orientation Lock API to lock the screen orientation to portrait or landscape.
Current screen orientation: "landscape-primary" (0°).
Legacy window.orientation value: angle is not available.
window.orientation