Probability that the lock code consists of all even digits is
if we choose the
digit lock is randomly from numbers 
How can we find the probability that the lock code consists of all even digits?
Total numbers are 
And we choose
digit code
So probability of choosing
numbers from
numbers without reapitation is

For All numbers are even , probability the last digit of number is even.
So we have
even number and if we fix one on last digit and can change other
then the probability is

So the total probability of code lock having all even number is 
Learn more about the probability is here :
brainly.com/question/28048708
#SPJ4