Remove locks[] array because it was just generally a really stupid idea