It is now possible to make PR for this gesture, I summarized here: Lock device without using physical switch - #14 by CLMA31