You can stop thinking in terms of "responsibility" and start thinking in terms of "incentives." i.e. you can still send a criminal to jail even though they didn't
decide to be a criminal, if jail time is more likely to discourage other criminals.
If you don't have free will, you still respond to stimuli. So instead of punishing someone for willful action, you subject them to stimuli.