Ginny did obtain the power to open the chamber of secrets. Lucius didn't give it to hermione because he knew that she wasn't stupid and she would easily figure it out, Her skeleton would lie in the chamber forever because nobody knew where the chamber was to move it and salazar slytherin intended to make that chamber to kill muggle borns in the future.