How does a Combination Lock Work?

A combination lock work for you in a way that you can lock something down and it can not be open back up unless you use the set combination on your lock.