In most of the cases you have to re-key the lock if fixing the battery doesn't work.