Settings for do not consumed the Forecast for specific Part Program or SO level

Hello,
We have a custom requirement, where we have a specific program group ‘xxx’ which have SO and that SO should not get consumed in Forecast.
So is there any option / settings where we can achieve this.
Or is there any way where we can get to know who the forecast qty is consumed.
Thanks in advance.