Whereas I would try to broad cast that there's an ogre behind the door or there's a longer route that bypasses the ogre at the cost of a significant (to the current situation) time. So as a DM I haven't decided that the PCs will fight the ogre, just that it's one of the optional paths to their goal(s).
An example would be that I had a recent scenario where the PCs needed to get from point A to point B. They had an alternative to go along the road which would be faster but they knew patrols were looking for them. It was likely (not inevitable) that they would have to have some tough fights and potentially let the opposition know where they were and where they were likely headed. The alternative was to go through the "old road" which took longer and had it's own dangers, likely more less deadly encounters. However, the odds of their opposition finding out about any encounter was significantly less.
To me, that was a significant choice. Random result is just the illusion of control over your fate. Not the same as railroading, still an illusion.
Besides, I'd rather focus my game time on things that matter. Exploring empty rooms with nary an ogre in sight, to me, does not add anything to the game. YMMV of course.