Question: what is the lock symbol in the upper right corner of iphone?
Answer: 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.