Hi, I'm Carl and welcome to Just Answer. I am reviewing your Question now and will reply back in just a moment.
The batteries being dead for 9-10 months will not and cannot reset the code as it's stored permanently in a computer chip. When you enter the factory code, does the door allow you to unlock it?
I totally get it and please don't take any offense to that question. What I meant was does it give you an error like the Factory Code is invalid or it takes the code and just doesn't unlock the safe.