How to configure OSPF interface cost?

Can someone give me a clue how to configure OSPF interface cost? I typically do not manually add/configure OSPF interfaces.. they are automatically populated when the OSPF session starts. When I go to “Routing/Ospf/Interface” and click on one of these dynamically created interfaces, I do see the “Cost” value, but it is greyed out so I cannot change it.

I simply need to change the cost of one interface to make it higher to prefer one interface over the other.

Thanks.

add static ospf interface with desired cost.