There are many forms of the mechanical digital lock. Although a lot of them are quite vunerable to manipulation techniques such as button feeling. This Guide for example shows how to manipulate the combo dial padlocks by Master.
Most locksmiths carry around a list of permutations (linked below) for the xyz digital locks, it can take a while but it will work providing the lock isn't faulty.
However i discovered a nice little web-tool that allows you to calculate all the permutations for other variations of mechanical locks. (Or any other mathematical problem)
If you encounter a lock that has no distinguishing button marks you can write next to them in pencil for reference
...and just for your info heres the list for the xyz locks, remember to prefix with a C
Another alternative is the xyz tool but from experience i have found it awkward to use and can make a mess of the door being so sharp round the edges.
What i have noticed when dismantling and code changing is that 90% of the time you have three active buttons on the right set of digits and two on the left (When looking from the rear of the lock). This means our code list could be optimised with those combinations first in our list to save time! However i havent found the time to re-arrange the list yet so you'l have to wait for that one.
Im also working on a list for the simplex codes but as there are so many permutations im re-ordering that in order of most likely first. Its going to take a while but will be well worth it.
NOTE: This has been abandoned upon discovering alternative bypass techniques!