When I lock my cell phone it lights up a short time later and shows one of my lock screens (I have random pictures from Huawei and a few of my own). Then it turns black again and a short time later it lights up again with the next picture. And it goes on and on.
Can you somehow exhibit that?
Perhaps you have a screen saver switched on. You can safely turn it off in the settings somewhere.