Welcome to the forum Paul, you'll find the members on here are a friendly and helpful bunch 😊
When I had a similar issue itbwas the drivers door locking mechanism which was at fault. In my case the drivers door mechanism controls the rest of the central locking. My car was repaired by an auto electrician and cost £120.
Cheers
Steve