Answer:
There are 512 possible combinations for the lock.
Explanation:
This can be modeled as a combination of 8 in 3, meaning we have 8 options to fill 3 dials.
As we can repeat the numbers, we have 8 options for the first number, 8 options for the second number and 8 options for the third number.
This can be written as:

There are 512 possible combinations for the lock.