After installing vscode on Ubuntu 16.04, it was discovered that the vscode source was automatically added. But I don't want this, the solution:
Edit the vscode.list file
sudo vim /etc/apt/sources.list.d/vscode.list
Just comment out this sentence and it will do.
deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main