sheep: return SD_RES_VDI_LOCKED in a case of failed lock

Returning SD_RES_VDI_NOT_LOCKED in a case of failed lock can produce
a confusing error message.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>