There are a couple of answers to this depending on what you are trying to do:
"...depending on what you are trying to do," ?
They are trying to rotate the page. There is only one answer, and locking the screen rotation ain't it. People come here with a simple question and get needlessly complicated answers.