Here's a good tip for when you go away on vacation. Most garage doors already have locks. If yours doesn't, you can use a padlock. In either case though and VERY IMPORTANTLY, be sure to unplug your opener. Upon your return, if you forget you've locked your track, trying to force your opener to work may damage it.
Shared by our friends at Hung Right Doors LLC, (WA) on FB:
"Lock the track on your home's garage door when you go away on vacation."