How do instructors simulate instrument failure in basic training aircraft with glass cockpits?
For conventional instrument gauges, I recommend the disks above for blanking out the attitude indicator or the DG/HSI.  Post-It notes are also a common way to blank out instruments to be used.

For partial panel work in glass cockpits, manufacturers and pilot supply shops sell soft stickers custom made for this purpose.