This all depends on whether the lock was locked or open before the battery died. On most occasions, it will be locked, because the door will be shut. When the batteries run out, all information (fingerprints, key cards, users) will be stored, so when new batteries are installed, everything works as it did before.