If the code has been put in incorrectly too many times it will be locked out completely and need a main dealers touch.
To get to the code input screen there is a button combination - the Audi one of this age is 'TP' and 'RDS' held together, it should be in your owners manual.