How to create a lock number?