what do you mean all you can do is relock the phone in fastboot? that doesnt make sense.
what commands are you trying to do when you flash the stock recovery?
Go back to stock on your nexus 5 using this guide: here
Tired of paying too much money for your phone plan? go prepaid!
Save money on refills for your prepaid plans: Use Callingmart