Tuthmosis I was the first Pharaoh to be entombed there c.1490 b.c. choosing a narrow valley out of site of the capital as a secret and supposedly safe location for his resting place, cut deep into the rock.
There was a secret location used for the tomb of Tuthmosis I.
The pharaoh was never buried, he died in the desert and he was left there to rot.