If the destination feature class doesn't exist, the script fails, but the error it gives is that there is a schema lock on the feature class. Sound like there's some order of operations issue there. Check that the file exists first, then check that there is a schema lock on it.