lock wxbook after it was ordered until generate pdf or send out