There's no clear cut method in S/M that will guarantee a Metal Coat. However, it is found:
Held by wild Magnemite (5% chance), wild Skarmory (5% chance), and wild Beldum (5% chance)
Meaning you'll have to catch these Pokemon and you might get lucky sooner or later.