If Google account was left and not removed while doing factory reset you have to enter the original email which was left and synced with phone before factory reset, so if phone is stolen it's locked same as like icloud lock.If your friend who gave you the phone don't have a box or...