Occasionally I need to use ctrl+c while rescript is running (during the phase where it says rescript: [340/2391] and counts up while compiling files). It's not a normal thing to do but it happened today.
Using 9.1.4, when I do this the .bsb.lock file is cleaned up. This doesn't happen with v10, I'm using 10.0.0-rc.1. The lock file is left behind and the compiler refuses to run until it's manually deleted.