lock.lock_many(): use passed os_{type,version}, not ctx
lock.lock_many(): use passed os_{type,version}, not ctx

Affects teuthology --lock with os_{type,version} in the yaml.

Fixes: #9811
Signed-off-by: Dan Mick <b07550071eaa6a9296289c43bbd6c90559196431@inktank.com>

robbat2/teuthology,SUSE/teuthology,yghannam/teuthology,ktdreyer/teuthology,zhouyuan/teuthology,dmick/teuthology,ceph/teuthology,robbat2/teuthology,ivotron/teuthology,michaelsevilla/teuthology,tchaikov/teuthology,michaelsevilla/teuthology,caibo2014/teuthology,caibo2014/teuthology,ceph/teuthology,zhouyuan/teuthology,yghannam/teuthology,t-miyamae/teuthology,dmick/teuthology,tchaikov/teuthology,dreamhost/teuthology,dreamhost/teuthology,SUSE/teuthology,dmick/teuthology,ivotron/teuthology,ktdreyer/teuthology,SUSE/teuthology,t-miyamae/teuthology