sheep: revive backward compatibility of locking operation

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