OK - it's a pretty straightforward fix for a locksmith but may be diy'able, it depends if it's a fault with the lock cylinder itself or the gearbox in the door.
If it's the cylinder you can try snapping the lock if you can get to both sides of the door (also check for any stars on the cylinder...