If you're in the area when the lockdown starts and you don't live there, then they would reasonably have to allow you to leave to go home. As you said, you're there for work, and as you aren't deliberately flouting the rules (as in making bookings in that area during the lockdown knowing full well it's under lockdown measures) etc, I would do the booking.