Does sound like the door latch mechanism is playing up, best to get it sorted before it doesn't unlock and then you won't be able to get the door open to replace it.
I would try a scrapyard or ebay for a replacement (even if it is a used part, it may be better than you have already and good for the interim until you can source a new one