You can use 'ActiveItem' and 'ActiveSubItem' input parameter of menu webblock, use them inside your screen and pass the values to those inputs depending on the condition you want them to be enabled/ disabled.
And inside your Menu block, use those incoming input parameter to apply the condition/CSS Styles to make them enabled and disabled.
Let me know if you have any question.