Have you tried a drop of WD40 down the barrel of the lock?----Might be something that needs unsticking.
Many thanks for the handy suggestions. For interest of anyone else with a similar issue. It turns out that there was some gunk collected in the barrel probably from wet riding. A bit of WD40 and gentle use of the key got it out mostly and then bit of contact spray and it all seems to be back to normal