How do you lock your knees?

Full extension. Knees are traditionally in a locked position when they are fully extended.