.
Last digit is one of 5 odd digits 1, 3, 5, 7 or 9. 5 options.
First digit is any of the remaining 9 digits except of 0. 9-1 = 8 options.
So far, 2 digits of the 10 digits are used; the remaining 8 digits of the 10 digits are still free.
Second digit from the left is any of remaining 8 digits. 8 options.
Third digit from the left is any of remaining 7 digits. 7 options.
In all, there are 5*8*8*7 = 2240 different combinations.
ANSWER. Under the given conditions, 2240 different codes are possible.
Solved.
I am ready to accept your "thanks" for my teaching.