Disarm

Optional rule from DMG that is allowed.

A creature can use a weapon attack to knock a weapon or another item from a target’s grasp. The attacker makes an attack roll contested by the target’s Strength (Athletics) check or Dexterity (Acrobatics) check. If the attacker wins the contest, the attack causes no damage or other ill effect, but the defender drops the item.

The attacker has disadvantage on its attack roll if the target is holding the item with two or more hands. The target has advantage on its ability check if it is larger than the attacking creature, or disadvantage if it is smaller.

House rule you cannot disarm a creature 2 sizes larger than you unless you have a specific feature allowing this.
House rule you cannot disarm a when using opportunity attack unless you have a specific feature allowing this.