Yes, using cheats in Age of Empires II Definitive Edition will disable achievements.
This means that if you use cheat codes in a game, you will not be able to unlock any achievements for that game. However, you can still unlock achievements in other games.
Why do cheats disable achievements?
Cheats are designed to give players an unfair advantage in the game. This can make it easier to win battles and complete missions, but it also makes the game less challenging and less rewarding.
By disabling achievements when cheats are used, the developers are encouraging players to play the game fairly and earn their achievements through hard work and skill.
Is there a way to enable achievements after using cheats?
Unfortunately, there is no way to enable achievements after using cheats in Age of Empires II Definitive Edition. If you want to unlock all of the achievements for the game, you will need to start a new game and play through it without using any cheats.
If you are serious about unlocking all of the achievements in Age of Empires II Definitive Edition, it is important to avoid using cheats. Cheats will disable achievements, and there is no way to enable them again after they have been disabled.