If the garage does not have an alternative access there should be a manual cable release which disconnects the door from the opener chain so that you can manually open it. Often this is in the form of a small key near your garage door. With the key you can open the lock and pull the manual release.