Use getopt to verify options passed to i3lock.