Control of entanglement transitions in quantum spin clusters