The trope you're talking about is called a "beef gate" (
https://tvtropes.org/pmwiki/pmwiki.php/Main/BeefGate), a developer enforced quasi-linearity where you have the freedom to go down multiple paths but without the experience or skills certain paths are blocked by monsters too strong to overcome. And since tropes are tools and not inherently bad or good, some people prefer beef gates because getting slaughtered in a fight feels like I'm the one at fault here for attacking something too strong to face rather than the developer putting, oh a troupe of dancing men to block my path even though I've got a level 100 Mewtwo in my party.
Who are you to tell me I can't go here, YOU'RE NOT MY DAD!
Some beef gates I like are essentially "challenge roads" or alternative experiences for players with a better grasp of the game concepts than a new player, giving the game some replayability for those that like a challenge. An example is Fallout New Vegas, where there's two paths to the titular city: a big long U-turn through several towns to teach you the ropes and skills, or a short path infested by giant killer tarantula hawk wasps.
no not the bees NOT THE BEES
While the bee path is murder for a new player, people familiar with the games survival, radar, and stealth systems can use skill and luck to dodge all the bees and get to New Vegas (with maybe some save scumming). So the Beef Gate can be overcome at level 1, it just takes a lot of skill.
Granted, I always take the long U-turn since the best characters are there.
I used to wonder what friendship could be until you all shared its magic with me
But like your Mario & Luigi experience, sometimes Beef Gates are just unfair and frustrating. I find Final Fantasy II unplayable without a guide because there is only one correct path but no navigation help in-game, so one step out of line and the enemies use your bones as a toothpick.
We talk a lot about is linear better than non-linear but really it's just two different avenues to create an experience and neither one is actually better than the other. Linear games can be more directed and crafted at the expense of freedom, while non-linear games provide freedom and choice but take a lot of work and time to make all those choices meaningful. I guess I'd compare Zelda: A Link Between Worlds (non-linear) to Okami (linear), both being dungeon crawling action-adventure games but dungeons in that Zelda have puzzles centered around just one item while Okami starts with simple puzzles that grow in complexity as you gain tools for your toolkit They're both good, but they deliver different experiences.
But as Kanto demonstrated, you can compromise between the two, giving points of linearity and non-linearity. I like to call this objective based gameplay, where you're given a list of tasks but not an order to complete them in and when you finish them all the game progress further a bit.
Others will still cry foul though, as while Kanto's non-linearity is celebrated a lot of people hate it in the Johto games, due to how it messes up the experience curve. After Goldenrod you've got two paths but the trainer levels sit around 24-ish before jumping up to 35 right before the Radio Tower mission, while my poor pokemon can fight every trainer and still be at level 30. And that's hardly the only instance of this, as when you return to Kanto you've got complete freedom but also a huge level spike and few trainers to grind with.
Personally HG/SS is still my favorite in the series, but I acknowledge it's got level-up issues.