It’s not totally clear which pin you seek, but here are the two options:
Yes, if you solely have a pin to unlock issue, that can be remedied in minutes with a restore.
No, bypassing activation lock isn’t within scope of this site unless you’re using a MDM.
- https://developer.apple.com/documentation/devicemanagement/clear_the_bypass_code_for_activation_lock
- How can I bypass Activation Lock?
Yes, If you have a pin issue, that can be remedied with a restore.