The present disclosure relates to a locking mechanism of an armrest assembly for a wheelchair, comprising: an elongated inner arm, an elongated outer profile, and a locking handle, wherein the locking handle is configured to pivot between proximal and distal pivot positions in which the locking handle is pivoted further away from the outer profile than in the proximal pivot position. The locking handle is configured to cause the locking structure to engage with the outer profile and the inner arm to axially interlock the outer profile with the inner arm, and wherein the locking handle is configured to move the locking structure from engagement with the outer profile and the inner arm to release the outer profile from axial interlocking with the inner arm when the outer profile is in the proximal position and the locking handle is moved from the distal pivot position towards the proximal pivot position.