If you do a reset from recovery and not the settings app it locks it down with android factory reset protection and the phone is bricked until the original owner enters their google password.
Still stupid that it can brick the phone if you don't have that password.