I imagine this is an easy concept but I do not know much about mechanical engineering design.
I am trying to make a "knob" like a control knob in solidworks that turns and is locked in place after twisting. I am thinking of a twisting knob in a labyrinth game or something like a foosball table knob that is locked in place after turning, or just a general control knob on an oven. I want to figure out how to design the "interface" that lets the knob turn yet stay in place after turning but do not know enough vocabulary to point myself in the right direction. Does the "interface" I am looking for have a name? How does one go about making it?