Liquor laws - how they vary...
When I lived in Western PA, at closing time, if drinks were surrendered and the door were locked, you could stay on the premises if the owner so allowed.
There was no lack of speakeasy joints in the hinterland hollers, though. If you knocked and were personally known, and not branded as trouble, in you went.