You can manually unlock the state using the force-unlock command :
terraform force-unlock LOCK_ID
The lock ID is generally shown in the error message.
It may not work if your state is local and locked by a local process. If it is the case, try killing that process and retry.