User data stored in the lock will not be lost when you remove the batteries to replace them, or the batteries are dead.