Restore an iPhone
Is there a way to restore an iPhone without having access to Apple ID if the 'Find my iPhone' was enabled?
iPhone 11
Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address
The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.
The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.
Is there a way to restore an iPhone without having access to Apple ID if the 'Find my iPhone' was enabled?
iPhone 11
No. You can restore the iPhone without the Apple ID using iTunes on a computer, but if Find My was turned on, it will just pop up Activation Lock during set up and you will not be able to setup the phone then.
You really really need the Apple ID the iPhone is locked to if you wish to restore and it and use it again.
Link-> Activation Lock for iPhone, iPad, and iPod touch - Apple Support
No, there isn't. That is Activation Lock. Only the person that put the lock on the device can remove it.
Restore an iPhone