Poison Pill AKA Self-Destruct App

The situation
A phone is lost/stolen. No gapps installed likely no android device manager on board.
No carrier data service, device is talk and text only, and WiFi
Lock screen is enabled. Let's assume thief is not able to unlock device so WiFi likely is not gonna connect device to internet.
Also device has deep sleep battery saver and WiFi on off apps installed so WiFi is turned of until screen is unlocked.

The problem
No way to reach phone and wipe it.

Requested solution
Send a text message with a code that will trigger device and sdcard wipe execution.

Not sure if such a solution exists