to try at most if...
(a) ...she only knows that the correct code is 4 digits long? I got 10!/4!*3!*2!*1!
(b) ...she knows that the correct code consists of 4 distinct digits?
(c) ...she knows which 4 distinct digits are involved in the correct code? I know that this means there are 4! ways of ordering them