You can index modules inside an nn.Sequential container via indexing:
model = nn.Sequential(
    nn.Conv2d(3, 6, 3, 1, 1),
    nn.ReLU(),
    nn.Conv2d(6, 1, 3, 1, 1)
)

print(model[2]) # index second conv layer