Often used - enter data from cover or description.
With more and more photocopiers, often used bad copyable sujets (red etc) or complex systems like rotating discs (several lucas arts games and were in the mood of the game).
Later the dialog to enter the number/code came in the middle of the game (manic mansion etc).
Codes were also used to ‘store’ progression.
Booklets
Booklet protections