Most digital locks have a low battery warning. If the battery does die, many locks have backup methods, such as a physical key or external battery port.