You’ll find lots of questions on this forum about giving freely-typed responses, and even the occasional demo:
At the moment this requires some custom code. However, a key feature of the next release (PsychoPy 2020.2, scheduled for July) will be a new TextBox that will enable typed responses automatically.