Not all apps can rotate to landscape mode. Some apps only have a portrait orientation. If your iPhone won't rotate and the lock is off, it’s likely that the app does not support landscape orientation.