Sideways screen is locked, how do I unlock it iOS7?

I accidentally locked my iPhone from turning sideways in settings or something how do I change it back?
Okay so i was messing around with my iPhone and accidentally locked the screen from turning sideways. Now my iPhone is upgraded to the iOS 7 and I want the screen to turn sideways but don't know how. But I Really NEED to fix it.

Scroll on your screen upwards and to the far right you will se a lock with a rotating thing. Tap that

At bottom of your phone should be a small box icon that lights up other side is backup page arrow. Tap the box when internet page is up n you will see new window.read later and (more) tap it n scroll down to settings.uncheck landscape only. Then go back to home screen n go to apps n settings n go to display n uncheck auto n restart phone n you will be able to move anyway with screen