Shiny Locks only began in the Gen V games.
Zekrom, Reshiram, Victini
Articuno, Zapdos, Moltres, Mewtwo, Xerneas, Yveltal, Zygarde, Groudon, Kyogre, Rayquaza, Deoxys
Tapu Koko, Tapu Lele, Tapu Bulu, Tapu Fini, Cosmog, Solgaleo, Lunala, Nihilego, Buzzwole, Pheromosa, Xurkitree, Celesteela, Kartana, Guzzlord, Necrozma
Ultra Sun/Ultra Moon
Zygarde, Tapu Koko, Tapu Lele, Tapu Bulu, Tapu Fini, Cosmog, Solgaleo, Lunala, Necrozma, Zeraora
Let’s Go Pikachu/Eevee
Starter Pikachu and Eevee
First encounters with Grookey, Scorbunny, Sobble, and Galarian Slowpoke (all of which can be bred to get shinies), Eternatus, Zacian and Zamazenta.
However, before the Gen V Games there were still unobtainable Shiny Pokemon, as a result of being directly distributed from events. These are not technically "Shiny Locked" but I'll list them below;
Spiky-eared Pichu, Arceus, Celebi
Celebi, Arceus, Keldeo, Meloetta
Cosplay Pikachu, Celebi, Arceus, Victini, Keldeo, Meloetta, Diancie
Cap Pikachu (except Partner Cap), Victini, Keldeo, Meloetta, Hoopa, Volcanion, Tapu Lele, Tapu Bulu, Tapu Fini, Cosmog, Cosmoem, Solgaleo, Lunala, Necrozma, Magearna, Marshadow, Zeraora
Zacian, Zamazenta, Eternatus
This also factors in that some Pokemon can only be received in a particular game by trading from a previous game, in which they may have not been available as a Shiny.