Quite a coincidence because of the only remaining secret of Nier: Automata (2017) was discovered today, an intentional cheat that lets you jump to the end of the game (the game needs multiple playthroughs to see all endings and reach the real one)
Now days it's more likely to be included in an accessibility menu. Games like Celeste, for instance, have options that might have historically been called "cheats".