Using TeamViewer is a security breach.
For Windows environments you're probably using Remote Desktop, which, enough said there.
In general any Mac can serve its desktop to the Apple Remote Desktop client:
https://support.apple.com/guide/mac-help/allow-apple-remote-...
Also can support most any VNC viewer. But FileVault has to have been unlocked.
That's how you know it's secure /s