Tutorial [Q] Rotation - Screen Orientation

Hi,

i would like to read some books in potrait mode on my tab lying in bed. Now I do have a problem. When I lie on the siede the screen turns into landscape. If I lock the orientation it is always in landscape.
Does anyone know a solutiion how to lock the orientation in potrait mode?