Add option to disable auto-freeze during capture

Thanks for this project! For my use case I don't want the auto-freeze behavior when `capturePhoto` is called. This simple pull-request adds a configuration option, and defaults to the existing behavior.