Is it both doors or one door. You should be able to manually lock them from inside. But this will not set the alarm.
If memory serves me correct, if one door lock is not working the other may not work either.
Does it not tell you on the dash the door buttons will light up if not locking or which door it is.
If its both doors then maybe you need further investigation. If it's just the one door then you will need to change the lock £260. I had to do one door and then 6 month later the other door, but to be fair they were both playing up at the same time.
Hours work, easy to do.