Hi IMaheer,
Thank you for using the Apple Support Communities! If the Apple ID is locked, the password will need to be reset as listed below:
If your Apple ID is locked or disabled
To reset the Apple ID password:
If you forgot your Apple ID password
1. Go to Settings.
2. Tap your name > Password & Security > Change Password.
3. Follow the onscreen instructions to reset your password.
Hope this helps!
Have a great day.