I have been using OsmAnd for years now but discovered this feature only recently…
„Settings“ -> „Navigation“ -> „Turn screen on“
OsmAnd wants then to become a device administrator.
What does it do? When your screen is off, OsmAnd turns it on for a few seconds when you get instructions and then turns it off again. The time frame is long enough to get a quick overview of the current track.