Completely different code every time with the classic 3 digit padlock. I made one during school so I figured I might as well make one now. I think this one is definitely less complicated than the one I made at school lol.
You should be able to figure out how to make your own condonation using the code inside here. I hope this helps you with your project or in general!