Samsung s7 – dm verity verification failed problem

Has anyone got any idea on how to fix dm verity verification failed problem with s7 g930f, I have flashed many stock Roms and none make a difference once flash is complete it just boots into recovery and this is what comes up, also I have tried to root again and it fails because of frp lock..any info would be much appreciated thanks