You've asked this 3 times in this forum. Once is enough if there is someone with an answer. To clarify..
You turn the camera on.
The lens goes through it's start up cycle (zoom out and back).
The lens retracts back into the camera.
The camera turns off.
You've tried a second set of batteries with the same result.
The obvious question in my mind, are you certain the batteries are good?
You might get further help if the folks in the compact forum see your question.
Pentax Compact Digital & Film Cameras - PentaxForums.com
I suspect the moderators will be along shortly to delete your other two posts. Cross posting to multiple forums and repeated posting is generally not allowed here. You can simply post a response asking for help to your thread to bump it back to the top if it slips too far down.