sony xperia st21i hang then off

xperia st21i (after changing touch screen) when i lock screen by pressing on/off switch 2-3 times it hangs then goes off . i tried another touch but problem remains same and i also flashed it but no luck i also change on/off switch.need ur help to solve the problem.