what is lock symbol in upper right corner of iphone?
If you're seeing an icon of a padlock surrounded by an arrow in your iPhone's icon bar, it means that your iPhone has rotation lock enabled. Rotation lock allows your iPhone to be locked or "frozen" in portrait mode. In other words, turning your iPhone horizontal won't cause the screen to rotate into landscape mode.