Hello Muhammad Fadil Khodadin,
In account.move, there's a field called "inalterable_hash". If this field contains any value, you'll receive a validation message saying, "You cannot reset to draft a locked journal entry."
This field is readonly and gets automatically populated when you click the "Lock" button on the invoice. In your case, the invoice has been locked, which is why you're seeing this validation message.
Thanks.