def lock(thing_name, lock, key, session=None):
return _request('<STR_LIT>', '<STR_LIT>'.format(thing_name), params={'<STR_LIT:key>': key, '<STR_LIT>': lock}, session=session)<EOL>
Lock a thing (prevents unauthed dweets for the locked thing)