The interlock feature is useful, but it is not something that shall be limited to the GPIO platform only (so different switches can be synchronized). From the code point of view, I think the best is ...