If your laptop logs on automatically wirelessly, then at one time you would have had to have entered the wifi password. If you can connect wirelessly using your laptop, then the wifi is broadcasting and not disabled.
With your Samsung, the lock would mean that the network is secure. It could be that you are not remembering the exact password as to why are are not able to log on using the device. It should tell you wrong password,
however. What did you say the exact error message was?
If you can find either your wifi password or
your router password, either would help get you on your way to solving your problem. If you've never set up a router password, it could be that your router has a generic password or none at all. If you tell me the make of your router, I could help you find out what such a password would be.
You would be able to reset your router if you didn't remember your router password, which would eventually allow you to log in. This is a longer work-around, however, because you will need to call your ISP to get the code to your modem.
Is there a setting on your device that you could be overlooking that is preventing you from connecting to the router, or does this have to deal specifically with a forgotten wifi password?