It's probably just a list or algorithm that blocks all old codes when you enter a new one.