It locks out controls since Su5. I think you just have to understand that this is the intended behaviour now. If they haven’t managed to resolve it after 5 sim updates it’s fair to say it’s never going to be fixed.
Get into the habit of flicking your mouse around and repositioning and letting go of the button.
I suspect this change was brought about to allow Xbox controllers to pan using the sticks without affecting the flight controls. I’d love for the behaviour to be disabled if your aren’t using a Xbox controller for flight control or better yet give us a toggle in the options, however maybe the way the underlying input system is coded makes this quite difficult.
Mahbe create a wishlist topic about adding a toggle for this in the options.