The most common reason for the lights to flash on the garage door opener and the door not closing is that the safety reversing sensors are misaligned or obstructed; this is a safety feature of the garage door opener.
When properly connected and aligned, the sensor will detect an obstacle in the path of its electronic beam. If an obstruction breaks the light beam while the door is closing, the door will stop and reverse to full open position, and the opener lights will flash 10 times.
Your garage door opener has a Self-Diagnostic feature. The LED next to the learn button will flash a number of times, and then pause signifying the potential issue.
One (1) flash indicates the sensor wire is shorted. See How do I test or troubleshoot the safety sensor wires?
Two (2) flashes indicate an open, broken, disconnected sensor wire, or the safety sensors are NOT installed. Consult your manual for sensor installation instructions or see How do I test or troubleshoot the safety sensor wires?
Four (4) flashes indicate the sensors are slightly misaligned. See How do I align my safety reversing sensors?
NOTE: The garage door can be closed by pressing and holding the door control push bar until down travel is completed.