I'm not sure exactly what you mean by misaligned but if the it means that the doors have gone out of level with each other the easiest way to get them to lock again is move and reset the striker plate and assembly that the locking bolt goes into. Dont try to move the lock.
You must live near a very busy road !!