Unlocking a previously unrecognized device

A

AC Question

I was looking on my Google settings and didn't recognize a device. My phone has been acting strange, so I thought maybe my phone had been cloned. I locked and removed the device. It turns out Google had two names for my cellphone and now I've locked my phone and can't remove the lock. I can open the phone because I know the password, but it's a pain to do every time. I tried removing the phone and reconnecting, but the lock is still there. Suggestions?