Custom Locks: Counting the Combinations