Welcome to Android Central! So this isn't your phone to begin with? It sounds like Factory Reset Protection. You'll need to contact the previous owner and have them help you.
Sorry, but we don't allow any discussions on bypassing security features. Thread closed.