On the Lenovo Yoga series it is necessary to not only disable the touchpad (#102408) but also the trackpoint and keyboard (on the X1 Yoga the keyboard hardware disables, but apparently this does not happen on the consumer Yoga products). See also https://bugs.freedesktop.org/show_bug.cgi?id=102408#c8
https://lists.freedesktop.org/archives/wayland-devel/2017-September/035102.html branch for testing: https://github.com/whot/libinput/tree/wip/disable-keyboard-in-tablet-mode
I can confirm that the branch turns off the trackpoint (cannot test keyboard as that gets hardware disabled at the same time).
commit 84d49ee49cc30927debb4104af42a92738837ada Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Sep 20 14:40:59 2017 +1000 fallback: suspend internal keyboards and trackpoints on tablet-mode switch
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.