This paper introduces a 20*40 mm 2 planar folded L-shaped dipole antenna operated under surroundings of an iron cavity for intelligent lock communication. The height of the slot antenna is shortened and the bandwidth for 2.4 GHz band has been widened. This antenna provides a solution for antenna surrounded by metal background. Good performances on return loss, radiation pattern are obtained over 2.4 GHz operating bands. The operation distance in front and back sides for the antenna has been calculated by Friis transmission equation.