how do I do not allow an opportunity stage to be set to close based on a condition?

It’s a long thread, but I think you’ll find what you need here: https://community.skuid.com/t/how-do-i-render-custom-picklist-values