Lock dependencies