This desk raises and lowers so you can work sitting or standing. Gas springs in each leg supply the upward force, so it moves easily, and it adjusts in half-inch increments.
A solenoid lock, worked by a foot pedal, holds the desk at the right height.
CAD rendering of the finished desk.The lift and locking mechanismThe desk in action