Hello,
Security commands for deleting, locking and unlocking is first tried by using GCM and if it doesnt work then SMS is used. You have to make sure you have GCM(More common) configured or SMS( not too popular lately). Afaria supports both, and can be configured on the Afaria administrator.