Control/unlock is easy, you use a dashboard to do this.
Codes get a bit more tricky, but can be implemented. You have a few options, like the VPN or subscription mentioned above. The third option is the following procedure:
The discussion that drove the documentation came from here: