Hi Neil. Welcome to justanswer.
Is your camera still under warranty?
Try blowing compressed air in the gaps around the lens barrels with the idea of blowing out any sand or grit that may be in there jamming the lens.
Try holding the shutter button while switching on the camera to see if that will activate the lens.
This can be due to sensor not responding which can be due to either ageing or faulty sensor.
You are welcome Neil. Do you have any other query?
Please rate the chat positively by clicking the 5 stars present on the upper panel so that I can get credited for my services.
Thanks and have a good day Neil.