Openmode kernel has CAL area locked always. So currently only way to get lock code working is _not_ to use Openmode kernel.