If you want to access your computer via your phone from anywhere, you can try a remote desktop app. However, if you don't ...
With new features in the Link to Windows app, your phone becomes a remote control for your PC: locking it, sharing files, ...