As shown in my kurviger link and the actual googele maps OSM does not know that the road is closed because of reconstruction avtivities.
Routing uses the OSM data with conditional restrictions & closed roads as they’re updated by community.
So instead mean how to set avoid areas on map during route planning?
That may come in the future, for now app offers avoid roadblocks during navigation: