hi

when i slide the slider and enter my pass-code in my iphone it goes to the home screen then loops back to the pass-code and when i try power off iphone it does the same thing . What could the problem be?