An Easy Password Base Lock System for Arduino using IR Remote

OK. I figured that part out but my remote sends a repeat code if the buttons held to long(like a 1/10th second). Is there an easy way of omitting that from the password attempt?