[qmsystem] Compatibility with a different device lock implementation