Start merging the kernel locking and wine locking checks