FYI All questions

How can a public key lock a message that only a private key can open?

The keys are mathematically related so one operation is easy with public information while reversing it remains impractical without the secret key.