To enter a code in Lugaru, press the tilde key (~) to open the console. From there you can type in the code you want to use. The tilde key is the standard way to access the command line in many games of this style.