Those aren't holes, those are striker plates to fair the alignment of the outer panels. the bolts would go laterally, and the recess for those appears top left and right I believe. I've owned earlier B737's this is new to me...
Yes, they're the stops that prevent the door moving outwards unless it first moves vertically to clear them. The lock bolts are, of course, intended to prevent that happening unintentionally.