Flashing CubeOrange plus

I’m trying to flash CubeOrange plus using ST Link and getting the errors as shown in the images.

Is there anything to be done to remove the write protection or flash protection?

Thanks.