Exact same thing is happening to me. I've tried on PC through Game Pass and also on xCloud. I interact with the sluice gate control, it shows the animation of twisting the wheel and the physical gate raises up from the lava, but it does not complete the optional objective and the keep gets destroyed when I proceed. I'm paused until this gets fixed. I'll try on Xbox soon to see if it's broken on there as well.