An example device in accordance with an aspect of the present disclosure includes a base housing, display housing, and locking mechanism. The base housing includes a keyboard, and the display housing is pivotably coupled to the base housing. The locking mechanism is to lock key movement of the keyboard based on the display housing being pivoted according to a first range. The locking mechanism is to unlock key movement based on the display housing being pivoted according to a second range.