How to Avoid Locking Yourself Out of Your Car at 2 a.m. Nothing is as painful as accidentally locking yourself out of your car at 2 a.m. after a night out. night out. Luckily, there are ways to avoid such situations from ever happening in the first instance.