Correct!
The Chamber of Secrets was locked with a door that had serpents on it.
The basilisk is a very large serpent.
The fang from a basilisk destroys Tom Riddle's Diary which destroys the 1st Horcrux.