There isn't really a way to unlock it if the combination was forgotten. You should always right down the combination the first thing you do, and hide it somewhere.
So you take the lock and the metal kinda loop part you grab it with your middle finger and kinda push with your ring and index fingers. Then you twist the knob SLOWLY when you come across the right...
Often there's a pin-hole you push in with a pen or a needle and release it at the location of the new combination. You may have to know the old code in order to be allowed to set a new one.
If each digit has 10 different values i.e. 0,1,2,3,4,5,6,7,8,9 that makes it 10 * 10 * 10 possible combinationsAll the possible combinations would run from 0 0 0 to 9 9 9 so take your pick from 1000...