Q: Does lens focal length and sensor size influence depth of field at all?
A: Yes. However, there is a lot of conflicting information available, which is incorrect, wrong, internet-era nonsense that many people and web sites propagate. The B.S. is rampant.
Here is the basic idea: the larger the sensor or film, the LESS depth of field there is at each, equivalent picture angle, using format-appropriate lens lengths.
Each film or sensor size uses a normal lens that is roughly/approximately as long as the diagonal measurement of the format. So, for a square-format rollfilm TLR or SLR, the normal lens has been the 75mm f/2.8 or 80mm f/2.8 lens. For the 35mm film's 24x36mm size, the diagonal is 43mm, but the 50mm normal lens has been the standard for decades. For the APS-C sensor, the normal lens length is around 27mm, so the common 28mm lens can be considered a normal lens for an APS-C sensor camera. On the micro 4/3 sensor cameras, like those from Olympus, the diagonal measurement of the format is 22.4mm.
Very simply: LARGE format cameras, like those using 8x10 inch sheet film, will have very minimal depth of field. A smaller 4x5 inch sheet camera will have more depth of field than an 8x10 camera, but it's still fairly minimal. 120 rollfilm has a number of film formats, with 6x6 "square" and 6x7 fairly popular; this format does not have an overabundance of depth of field with its normal lens. 35mm film cameras shooting in the "135 format" (24x36mm image size) or so-called FF digital (also a 24x36mm size) will have a reasonable amount of depth of field with its normal lens.
An APS-C camera will give us more DOF than a 35mm film camera or a FF sensor digital. A camera with an m4/3 sensor has even more depth of field than an APS-C camera. The tiny sensors, like the itty-bitty ones used in smart phones allow users to create photos that have tremendously deep depth of field, even when their lenses are at wide apertures like f/2.8.