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.
Even if your screen is locked it turns on without the need to unlock, at least if you stay within OsmAnd. To access other applications you need to unlock first.
This is much better than turning your screen on every time you get some instructions or to follow „blindly“ to the instructions which can become difficult in some situations…
I don’t understand why this feature is not enabled by default.