Under your Mac’s System Preferences there should be a item called App Store where you can turn off automatic updates from App Store (which turns off all app updates, not only Xcode).
The You will be notified when the updates are ready to be installed only applies to the downloading of the data and if you check this box it will therefore download without your explicit approval. It will not install unless you check the Install app updates.
