100% this.
DOGSO (Denying Of Goal Scoring Opportunity) is the law you refer to.
There was one in the PL a few years back (escapes me now which club/player was involved) where it was the most blatant, cynical trip ever on the halfway line - ball barely even in the picture but there was covering...