checks to see if the vehicle is locked.