How can i get on the internet on my iPod if the wi-fi i catch has a lock by it and i don't know the password?
Your best bet will be to reset your router. It will prompt you to change your new password that you will be using in future. If this router isn't yours, you will have to contact the owner to be able to access it.
Reset the router you have by pressing the reset button (quickly press and release the button) and you will need to create a new wi-fi password on your desktop computer.
you can't. either you use a network without the lock or use one with a lock that you know the password to. if you don't know the password, you're kinda out of luck.