At least on on the N900 once the keyboard is opened the screen orientation is locked to landscape, as you usually don't want the screen to be in portrait at all when using the keyboard. This is especially useful when typing in awkward angles (lying in bed, etc.), in moving vehicles (bus, car, boat, aircraft, etc.) or when placing the device with open keyboard on an inclined surface.