Status moves that always fail when used in Tera Raid Battles:
- Guard Split
- Disable
- Encore
- Imprison
- Torment
Additionally, any move that causes the user to faint fails. In the case of Tar Shot, it does not fail but the effects do not take place.
The shield that is created by some Tera raid bosses at a time or damage threshold (whichever comes first) makes all non-damaging status moves that are targeted at the Tera raid boss fail. Moves such as taunt, thunder wave, and metal sound (a full list of which can be found here), will not work if the shield is up, but status moves that are not targeted at the boss, such as Nasty Plot or Agility, will not fail, assuming that they don’t have any other reason to. The Infiltrator ability cannot be used to get around this mechanic. However, the shield does not block secondary effects from damaging moves. For example, Nuzzle can be used to paralyze a shielded Pokémon and acid spray will lower special defense by two stages even if the target Pokémon is shielded.
Source