You may be encountering this feature or a related service:
'Activation Lock for iPhone, iPad, and iPod touch' is a "feature that's designed to prevent anyone else from using your iPhone, iPad, or iPod touch, if it's ever lost or stolen." To learn more click here --> http://support.apple.com/HT201365
For an individual to remove an activation lock absolutely requires the information for the account that applied the lock. Click on this link to learn 'How to remove Activation Lock' --> https://support.apple.com/HT201441
Here are additional resources if you are the original owner or can find the original owner:
Help with a lost Apple ID or password:
• "If you forgot your Apple ID" [this is likely an email address you are using or used in the past] click here --> https://support.apple.com/HT201354
• "If you forgot your Apple ID password" click here --> https://support.apple.com/HT201487
Reset device:
Apple can completely reset a device if a person can provide sufficient evidence of valid ownership. This is done online at: Activation Lock support request - https://al-support.apple.com/#/additional-support Apple says, "Proof of ownership documentation is required," but does not provide details as to what is acceptable proof. Prior to this new online service Apple typically required the original receipt* issued by Apple or an Apple Authorized Reseller and documented provenance (so typically it would be the original owner who does this, or a descendant with legal proof of ownership).
*Apple recommends you "Keep your receipt after you buy an Apple device" --> https://support.apple.com/HT202711
There is no "bypass" service unless the shop essentially charged you for the above service which is free from Apple (which itself would raise several questions). If that is the case then all you need to do is sign in on the device.
Click on this link to find out how to 'Sign in with your Apple ID' --> https://support.apple.com/HT201762 "After you log in, you can use the App Store, iCloud, iMessage, Apple Music, Apple TV+, and more."