Does the padlock mean a website is safe?
Short answer
No. The padlock means your connection is encrypted and the site holds a valid certificate for the domain in the address bar. It says nothing about who runs it, and scam sites get certificates in minutes. What it does pin down is the domain, so read the domain.
What the padlock proves
That the connection is encrypted, and that the server holds a valid certificate for the domain shown in the address bar.
What it doesn't prove
Who owns that domain, or whether they're honest. Fake download pages, fake shops and fake logins routinely have one.
Why it still matters a little
Because a certificate is tied to a domain, an attacker can't make a trusted padlock appear on a domain they don't control. That's why even an attack that hijacks a hotel network's DNS sends you to a lookalike domain rather than the real one. The padlock plus the right domain means something; the padlock alone doesn't.
What to check instead
The domain itself, how you got there, and whether the page is asking for more than it should.