Iphone 7 icloud lock?

I got i7 a few days back but it has security issue like icloud lock. Please guide how to unlock it. I'm first honor. Suggestions will be appreciated

You just need your apple ID password. If you've forgotten the password, you need to reset it. Visit this site for a few ways to reset things -> https://drfone.wondershare.com/icloud/how-to-recover-icloud-password.html

You would have to put in the password it is asking for. No way around it.