The sale doesn't go through, and the till shows how many tries are left. After 5 wrong PINs in a row, selling is locked on that terminal and we alert you, because the device may be in the wrong hands.
To unlock it, check with the store, then set a new staff PIN from Spend controls. If the device may have been lost or stolen, disable the terminal or reset its password as well, which signs it out everywhere.