Pakistan has commissioned its first Hangor-class submarine in China, marking a key step in its naval modernization.