You can input clefs and octave lines with the keyboard by using the clefs and octave lines popover, and also with the mouse by using the Clefs panel.
Clefs and octave lines share the same popover and panel as both affect the pitch and register of notes.