I bought a master lock from walmart, i also have an old masterlock, can I return the old one with the receipt of the new?

Update: The locks have a code on the back side. will they check for the correct code?
Update 2: i want answers from people who've tried it before. and please don't lecture me about ethics. if i cared about that i wouldn't be asking this question.
3 answers 3