Samsung Galaxy S2: Autorotation only in stand-by mode
Please be aware that home screens DO NOT rotate.

As well as this, developers can request their apps are only to be used in portrait mode - they therefore won't rotate automatically.

If you really want to rotate your screen, you can download the Set Orientation app, which will allow you to force your screen to rotate, based on a default orientation setting, or your sensor.