In football, if a player commits a professional foul, they deliberately do something which is against the rules in order to prevent another player from scoring a goal.
professional foul in British English
noun
football
a deliberate foul committed as a last-ditch tactic to prevent an opponent from scoring