Don't give him the opportunity to lie when you already know the truth. Instead of asking if he did it, ask him if he knew you would be upset, or ask him what he was trying to do because you know he wasn't trying to get into trouble.
when he sees that there is no need to fear telling you the truth, he will not feel the need to lie. A lie is a way to get out of or stay out of trouble and most kids will do it. What you teach him (by your behavior) about handling these situations now, will influence him for life. Showing him it is alright to take responsiblity for his actions, will serve him well. It will give him the strength to face his peers and make the "right" choices most of the time.
Just My Opinion
A bit about me: 54 yr old sahm and certified parent with 3 kiddos 2, 7, 11