When the shield runs out of energy, the block smoothly turns into a parry)
There is a corresponding animation before each attack.
And you just need to stay away from dangerous things near the second boss. And something can be used against the boss himself.