You won't like my answer --- leave the door unlocked. Out here in the country my dogs investigate first. If they find no danger they let that person in. If the door is locked and it's drunk Bob -- he might break the window. Better to let him sleep it off on my couch than fix a window. Plus -- I have shotguns. I suppose that's not an option anywhere but here.