Hello Aki234,
Thank you for reaching out to Apple Support Communities, and we'll be happy to help in any way we can. We understand you're having issues with Activation Lock.
Activation Lock is designed to keep your device and your information safe in case your Mac is ever lost or stolen. For this reason, we are unable to deactivate Activation Lock. You would need to get in touch with the previous owner. As this isn’t something we can assist with, please follow the information in this article for what to do if the iPhone is locked with the previous owners Apple ID: How to remove Activation Lock
"Remove Activation Lock on the device
Follow the onscreen steps to enter the Apple ID and password you used to set up your device or your device passcode.
Learn how to find your Apple ID or reset your Apple ID password.
Remove Activation Lock on the web if a device is offline
- Go to www.iCloud.com/find.
- Sign in with your Apple ID and password.
- At the top, click All Devices.
- Select the device that you want to remove from iCloud.
- Click Remove from Account.
Start a support request
If you need help removing Activation Lock and have proof of purchase documentation, you can start an Activation Lock support request."
We hope this helps.
Cheers!