There are certain states where it is lawful to execute prisoners convicted of certain crimes.
In some states, criminals are executed.
Does the word "execute" mean the same thing in the above two sentences?
the same meaning