Warranty Advice

So for a while, the lock button on my iPhone 5 has been broken. I can click it down but it is unresponsive and for it to actually work, you have to basically hold it down for a few seconds. And even that doesn't always work. My 1-year warranty is still available, and I was wondering if Apple would replace my phone for this? or at least fix the problem. Thanks