Adds Lock/Unlock functions to the quarantine interface.

BUG=
R=chrisha@chromium.org

Review URL: https://codereview.appspot.com/144620043