You should find a Microsoft authorized service center nearby you which can repair the power key. if you want to do it manually follow the video tutorial showcasing how to disassemble and repair power key in a lumia 520. Do mind that the major procedure for fixing remains the same , once you identify and fix the issue. Video:> https://www.youtube.com/watch?v=ArOkvDDVLOE