lock subdependencies