Lock screen on keyboard works out of the box.