Yes. It works.
But only if it's your lock. Otherwise it definitely does not work. In fact if you try this on that nerdy kid's locker and you'll definitely land in detention.
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.