Adding code to handle situation where product is unlocked in code, then a new receipt validation overwrites that unlock and locks it back up again.