static const char *const ideapad_wmi_fnesc_events[] = {
        "26CAB2E5-5CF1-46AE-AAC3-4A12B6BA50E6", /* Yoga 3 */
        "56322276-8493-4CE8-A783-98C991274F5E", /* Yoga 700 */
+       "8FC0DE0C-B4E4-43FD-B0F3-8871711C1294", /* Legion 5 */
 };
 #endif
 
 static void ideapad_wmi_notify(u32 value, void *context)
 {
        struct ideapad_private *priv = context;
+       unsigned long result;
 
        switch (value) {
        case 128:
                ideapad_input_report(priv, value);
                break;
+       case 208:
+               if (!eval_hals(priv->adev->handle, &result)) {
+                       bool state = test_bit(HALS_FNLOCK_STATE_BIT, &result);
+
+                       exec_sals(priv->adev->handle, state ? SALS_FNLOCK_ON : SALS_FNLOCK_OFF);
+               }
+               break;
        default:
                dev_info(&priv->platform_device->dev,
                         "Unknown WMI event: %u\n", value);