Added lock handling for everything that writes except reservations and itinerary.