Surgical / medical. It all depends on the cause of "blockage". It can be due to a functional cause or a mechanical one. Mechanical causes include tumors, adhesions, volvulus, intussusception, foreign objects, and hernias. Many times, these require surgery. Functional causes are more difficult and require patience and time. If you are referring to constipation, then stool softeners, laxatives, and enemas are used.
Depends. If locked bowels are due to constipation, treat the constipation. If locked bowels are caused by surgical adhesions or a tumor mass, you need to see a surgeon and get a proper diagnosis and treatment. If not sure go to er. If caused by a twist, the longer you wait the more serious the surgery and can be life threatening.