a case of multiple locking