@LordTommy: Which camera mode are you using, and are you in a well lit environment? Are you zoomed in at all? Can you try opening the Camera app > Tap the cog symbol > Scene Optimiser > Off > Scroll down > Tracking Auto-Focus > On. Also, if you tap on the area of the scene you want to focus on, does this help?
Have you tried clearing the Camera app cache and data to see if this helps? You can do this by heading into Settings > Apps > Camera > Storage > Clear cache. If the issue still persists after this, follow the same steps but tap on 'Clear data', then restart your phone.