Apple has acknowledged that some iPhone 5s have a manufacturing flaw that can cause the Sleep/Wake button to malfunction. TThe malfunction reportedly affects "a small percentage" of iPhone 5s manufactured through March 2013. The company has set up a replacement program that will repair or replace devices with unresponsive Sleep/Wake buttons free of charge.
If you're having troubles with your Sleep/Wake button, you can check if your phone applies for a free repair or replacement by checking on the support site. The program has launched in the US and Canada, and will be expanded globally on May 2.