You need to make a 5x5 keypad and use the keypad library. Or if you can find one online, that works too.