Yeah, you have to enter the password you created. It's called Factory Reset Protection, and is a way to discourage thieves from stealing a phone and doing a simple factory reset to make it their own. It's either asking for the password you created for the phone, or it might also be asking for your Google account and Google password. Either way, these are things you should know.