How do I lock and release the triangle and floor brush?

There are 3 numbered settings (1, 2, and 3). Position 1 allows you to remove the brush by twisting the elbow to the right and pulling out. Position 2 locks the brush in place, and position 3 lets the brush swivel.