Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.

Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.

I'm not able to give you a code example right now, but I suggest two screens, one with your lock image and the numbers as imagebuttons, which, when clicked, calls the other screen (with kwargs to tell it which number you clicked on)
The opened screen would use renpy.input to set a variable or probably a dictionary