Master lock on att phone how to get it unlocked?? ?

ok so i got this att phone right, i bought it off someone, so i wanted to master reset it.. but theres a code in the way... how to i take of the master look, or change it? i don't know the previous owner's info.. how to i fix this???
4 answers 4