Honestly? I don't like such systems.
1. They're punishing me as a player, for the dev's poor design choices.
2. They keep me from wanting to engage in battle against anything EXCEPT the strongest enemies, which means your combat is less about strategy and more about stats.
3. They create many... many more problems than they solve.
So, what're you trying to solve? "Players gain power too quickly and unbalance the game". Okay, basic thing most devs want to solve. Smarter ones don't immediately jump to "punish the player for engaging in ways to gain power".
But, let's look at our options for your problem here:
1. You could decentralize your stats so that combat revolves less around your stats (also known as "power") to beat enemies and your game revolves more around tactics, strategy, available consumables, party composition, etcetera.
2. Rework skills so that the vast majority don't just do higher and higher amounts of damage without some kind of measure to keep their power in check so that new skills don't break your game. You could also rework the vast majority of your skills to take advantage of weaknesses or of changing the flow of battle so that you don't have instances where a player has Fire Level 4 and is destroying low level content with it early on.
3. You could balance boss fights better and have them revolve around mechanics and gimmicks instead of HP and Damage. It is entirely possible to create enemies that ignore your very high Attack stat, or it does very little damage to them, regardless of player level. It is also possible to design enemy skills that work regardless of the player's stats or levels.
4. Reward less stats per level than you otherwise would, turning the game into something about which equipment you have instead of how high of a level you are.
That's just four ways to fix it off the top of my head without resorting to "punish the player".
In general, these systems used to exist because older games on consoles just didn't have the memory necessary to do anything more interesting. Likewise, most early video games were "power fantasies" since you couldn't do anything remotely close to "true RPGs" (like tabletops). The reason they have persisted so long is because it is generally very easy for a dev to implement them (see: lazy). "It's easier to balance when you gate levels". Well, yeah, it is... But, you're also hurting your players by doing so. Namely, you're effectively punishing them for deciding to spend some extra time grinding out monsters or loot so they can do the one thing they want to do: Skip Your Boring Combat.
Let's look at that for a moment. What are reasons players will engage in Grind themselves?
1. They don't like the combat system, so they gain some extra levels so that they can steamroll anything in it and get to the parts they do like: Exploration, Story, Mechanics, Etcetera.
2. Combat has been difficult for them, so they intend to gain a few extra levels to make combat much easier on them in the future in order to feel less frustrated with frequent losses.
3. The boss monster stomped them into dust last time, so they want to gain 3 or 4 levels and attempt it again, with the perception that they are now standing on much more even ground. If it is still not even enough, another few levels will push them over the top.
4. Loot. Rare Drops. Got to have them. They are invaluable later. Or, maybe you just like to collect everything in the game.
5. Currency. Need some money in order to buy the best gear in town, which is invaluable. Maybe grind out a lot more money for the next few towns so that a player doesn't have to worry about money for a while.
6. Aiming for a goal with their level. Evolution with Pokémon, spells/skills for some games... AP/JP for Classes/Jobs... XP for equipment... Points to learn new skills... Etcetera.
Okay, now, when you try to punish the player for engaging in voluntary grind... You are shutting down those six things. You are figuratively sticking up your middle finger at your players. You are telling them, "you will play the way I intended. If you don't, your fun will grind to a halt because every other way to play my game I've gone out of my way to make as terrible, horrible, and pointless as possible".
I don't know about anyone else, but I usually quit those kinds of games. I get bored of those games. Fast.
Why do so many devs keep brining this subject up? Why do they keep thinking they have to limit how much XP is gained and how many stats a player gets just to "retain the challenge"? Why do so many devs keep treating players as if they are the enemy?
I'm serious, I'd like to know. Is it because poor planning on the part of the dev has made all of their combat revolve 100% around stats and any deviation in what they predicted absolutely destroys the "challenge"? If so, I think that's more a problem with your combat system and the way you've designed your game, and not with whether or not players decided to grind and break the challenge for themselves, because they knew they could, because they knew you designed your game poorly.
See, here's the thing:
There is already incentive for players to not grind low level monsters. You don't need to exacerbate it. You don't need to make it more pronounced. You don't need to make it obvious you hate your players. When do players move on to the next group of monsters? When they feel like they're not "progressing" enough. Namely, when they stop having fun. In a system that doesn't go out of its way to punish players... A default system that leaves XP gains as what they were... Players naturally move on, on their own. Eventually, they get tired of killing the Rabbits that give 5 XP. All by themselves. Via natural progression. Level 2 required 25 XP, so they killed their 5 rabbits. Level 3 required 35 XP, so they killed 7 more rabbits. Level 4 required 55 XP, so they killed their 11 rabbits. Level 5 required 70 XP and they decided... "No, I'm bored with rabbits. I'm going to move on. They don't drop anything I want or need, and 5 XP isn't worth it". 23 Rabbit kills was plenty for them. They didn't like the prospect of killing another 14 and bringing that total up to 37 rabbits murdered just to get to Level 5. Not when they could move forward and kill something that offered 10 XP instead. Players naturally find the most efficient ways to play your games.
If a player can get a ton of XP to gain levels for minimal effort, they will do so. Sure, the Dragon might grant 2000 XP per kill, but it takes roughly 3 minutes to kill of game time and about 8 turns. It's a large chunk of XP to be sure... But, why kill that when the player can kill 20 monsters of 100 XP a piece in the same 3 minutes? Or, even less? Killing them in a single turn? Maybe less than a turn? With no risk to themselves? One of these options is clearly better.
Personally, if you want the player to keep moving forward in your game, punishing their grinding isn't the way to do so. You need to incentivize moving forward in the game, moving to the next dungeon, not spending time grinding. You don't need to punish the player's choice to grind out a few extra levels.
I don't know about anyone else, but I hate when devs make a lot of design decisions that obviously exist because I'm "the enemy" and need to be tightly controlled, monitored, had my hand held, need to be led by the nose, and saved from myself. Invisible walls? Yeah, prevent me from breaking your events or going to places you don't want me to go. XP that scales downward as I gain levels? Yeah, prevent me from grinding out levels, destroying your very "simplistic" and "lazy" challenge that revolves entirely around stats. Large gaps of XP as my levels get higher, requiring me to kill 3x as many enemies as I just did in order to gain the next level? A worse version of the scaling XP that accomplishes the same thing. Keeping me from breaking your "challenge", which only exists because you couldn't figure out how to make combat more interesting than doing math. Quests that don't trigger because I tried to skip steps and solve them early? Yeah, thanks, trying to keep your narrative intact by destroying any player agency I had. The list just goes on and on. I just don't enjoy it.
As a player, I don't enjoy being treated as "the enemy". I don't enjoy the devs taking out their lack of ability to create a game on me, the player.
If you're worried about combat challenge, as a dev, why are you so worried about players gaining extra levels? Why not worry about whether or not your combat is a challenge regardless of level instead? Gimmicks. Combat puzzles. New Mechanics. New ways to think about Old Mechanics. Why is the first thought to devs, "I need to keep my players from grinding out extra levels and breaking my challenge"? Why isn't it, "This combat will be challenging unless they've got an extra 10 levels on this enemy"? Is it because it's a lot of work to create a good combat system? To create one that doesn't revolve around raw stats? Lots of hours of Test Play?
Anyway, that's my two cents.
/rant