Do not force it. Check for an obvious garment caught at the opening and whether the load exceeds the chosen programme's permitted quantity or practical space.
Understanding this situation
The door must close normally without compressing fabric into the seal or latch. Pushing harder can damage the closure and trap clothing where it may be torn or allow leakage during movement.
A useful next step
With the machine safe and stationary, remove or redistribute the load within its instructions. If the door still fails to close when unobstructed, leave the washer unused and arrange assessment. Do not hold the latch in place to imitate normal closure.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.