Cannot be sold after the reward is over-triggered

I asked someone to write a contract code. He was a lottery winner, but the reward cannot be triggered after it exceeds the value I requested, and it will directly prevent everyone from selling it.Ask for help!!!