A height adjustable work surface includes a platform and a height adjustment assembly moveably connected to the platform. A leg assembly is connected to the height adjustment assembly and moveably connected to the platform. The leg assembly is moveable between a raised position and a lowered position. A locking assembly is moveably connected to the platform. The locking assembly is configured to engage the height adjustment assembly to selectively secure the leg assembly in the raised position and the lowered position. The locking assembly includes a handle and a latch. At least a portion of the latch is moveable between a first position and a second position. The latch includes a gravity actuated lockout mechanism configured to prevent movement of the latch to the second position unless the platform is in a normal operating orientation.