64000 possible unlock codes
===============
The lock uses 3 numbers as an unlock code, each ranging from 0 to 39.
Since there are no restrictions on the numbers, we can calculate the total number of possible unlock codes by multiplying the number of choices for each number, which is 40 choices.
Using the multiplication principle, we can calculate the total number of possible unlock codes as follows:
Therefore, there are 64000 possible unlock codes available for the lock.