On a newer model Range Rover the vehicle is designed to make it impossible to lock the key inside the car. If you have a specific situation where you would like to lock the key inside the vehicle it would be necessary to shield the RF (radio frequency) from the key to the vehicle.
I just out mine in the car and lock it with my second one, works for me everytime.
Thanks! Your answer is awaiting moderation.