"Force" may figure into the writing of laws. An example is in RCW 9A.44.010, a component of Washington's rape law. It defines "forcible compulsion" as
physical force which overcomes resistance, or a threat, express or
implied, that places a person in fear of death or physical injury to
herself or himself or another person, or in fear that she or he or
another person will be kidnapped.
The first part limits "forcible compulsion" to a subtype of physical force. Threats are not claimed to be a kind of force, instead, the law puts together actual physical force (not all types of actual force), but also threats (promises of future force).
There is a later provision regarding remote testimony by child applicable to distress "if forced to testify in front of the defendant", where "force" is defined, but is understood to mean "is legally compelled" – and it is also understood that physical force is how the law enforces legal requirements. Washington law handles the matter by replacing the broad physical concept "force" with a legal expression that identifies a subtype of force (that which overcomes resistance). That way, speaking to a person (where measurable acoustic force is applied to someone) remains legal.
On the other hand, "force" is used other parts of Washington's criminal law, in RCW 9a.16 (for instance "The use, attempt, or offer to use force upon or toward the person of another is not unlawful in the following cases"), and is not defined (therefore one would have to look it up in a dictionary, or in case law). However, the various laws are stated in such a way that things that could be metaphorically called "non-physical force" (threats) are joined with actually-implemented physical force. You would find different wording in a law that prohibited using an economic advantage, typically via the concept of "threat".
The Wiki article on force in law cited a definition of "force" from the Indian penal code:
A person is said to use force to another if he causes motion, change
of motion, or cessation of motion to that other, or if he causes to
any substance such motion, or change of motion, or cessation of motion
as brings that substance into contact with any part of that other's
body, or with anything which that other is wearing or carrying, or
with anything so situated that such contact affects that other's sense
of feeling: Provided that the person causing the motion, or change of
motion, or cessation of motion, causes that motion, change of motion,
or cessation of motion in one of the three ways hereinafter described.
(First) — By his own bodily power. (Secondly) —By disposing any
substance in such a manner that the motion or change or cessation of
motion takes place without any further act on his part, or on the part
of any other person. (Thirdly) — By inducing any animal to move, to
change its motion, or to cease to move.