Shadow distance flickering

Could this problem be related to Lumen’s depth of field?
Any help somebody?