On Ark Survival Evolved singleplayer games you can add experience points to your character and to ridable tamed creatures. There is nothing special to do to give your survivor xp when you enter the code. To give xp to a tamed dino, enter the code, while riding it.
To add experience on PC; bring up the command line by hitting the TAB key, after that you may need to type in enablecheats, if you haven't used admin commands before. Then you type:
cheat addexperience 1000 0 1
1000 is the number of experience points you wish to add. If your singleplayer game has an xp multiplier, it will add more than 1000 xp points
To use console commands on the PlayStation 4, 5 and Xbox One, and Xbox One X.
Bring up the command line in the pause menu:
PlayStation L1 + R1 + Square + Triangle
Xbox LB + RB + X + Y