Please make sure you are completing the set code procedure until it displays 'good', remembering that if you have opened the safe with the key you also have to lock it with the key, from then on using the code as usual.