4 pushbutton lock coding [SOLVED]

Have you got external pull up resistors as you are not enabling the internal ones.
Print out the values you read and check you if statements.
You are still it looking for a button not pressed state!!!