Help with coding please

if (4557)

This will always be true

You need to read the number digit by digit and compare it to the valid entry when complete

You will get some ideas from Keypad data entry. A beginners guide