Store a door code per unit or per booking. Guests get it shortly before arrival, never earlier. Smart lock connections come later.