Can now change index locks

Also first stab at delete indexes