Correctly send the string given to lock! and reload(:lock) to the lock scope - fixes #13788