frozen screensaver - psychedelic colouring - image attached.
I have an iMac (Retina 5K, 27-inch, 2017) which I purchased in October and which is running on Mojave. The screen saver would periodically freeze and produce a similar psychedelic appearance as the embedded photo. When I clicked the mouse or return it would go and the screen would return to normal. It is now becoming more prevalent. I was locking the screen when I left the computer but now the locked screen is freezing as well. Instead of one click on the mouse or once on the return key it now takes several clicks/presses to bring the normal screen back up. I've looked around online but have not seen anything else about this. Any ideas? Thanks.
iMac 27" 5K, macOS 10.14