#lock_options should be hash if not already assigned