The padlock icon on your status bar means that Rotation Lock has been enabled on your iPad. Rotation Lock causes your device to stay in portrait mode, regardless of how the iPad is being held. To disable this feature, swipe up from the bottom of the Home screen to bring up Control Center, then tap the padlock icon to turn off Rotation Lock.
What does the padlock icon with the arrow on my iPad mean?
Taxonomy upgrade extras: