The command works in packaged builds as well, but will need to be called on that side. If you’re using primarily blueprints you can use this node
Execute Console Command | Unreal Engine Documentation.
If you’re using C++ just know it needs to be called from a player controller
playerControllerRef->ConsoleCommand("t.maxfps 60");
Funny enough I learned this way back when Ark was popular, as it’s a command that can be used in unreal games that never block the functionality.