Answer
$37$
Work Step by Step
In part (a.) we computed that 36 incorrect codes will open the padlock.
Of course, the correct code will open the padlock too.
Therefore overall $36+1=37$ codes will open a programmed padlock.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.