How would I go about making a lock-picking system?

I think I have an idea of how to work through this now. Thanks for giving your time to help!