on any of those devices. What do I need to do or how do I make it work?
I am relatively new to Lastpass, but will try and provide some guidance.
It sounds like you have two-factor authentication (2FA) enabled for your Surfshark VPN account, and it's likely set up to use an authenticator app. Since you're being prompted for a 2FA code when logging in on your MacBook Pro, you'll need to retrieve that code from the authenticator app you used when you initially set up 2FA for Surfshark.
Based on your description, you probably used either the LastPass Authenticator app (since you have LastPass installed) or another authenticator app like Google Authenticator, Microsoft Authenticator, or Authy.
Here's how you can likely get the 2FA code:
Does this help.