I got mine to work after a bit of trial and error. I did have to download Secure Settings.
I have a profile called "Screen Lock Off", the two contexts for that are:
1: Display Unlocked
2. WiFi Connected (to my SSID at home).
The task options are:
1. Wait 2 seconds
2. Keyguard, Set, Off
3. Secure Settings, Configuration, Keyguard Disabled/BG
4. Secure Settings, Configuration, Clear Password/Wait for Unlock
To lock the screen I have a profile called Screen Lock On, the contexts for that are:
1.Not WiFi Connected, it's WiFi Connected one but with the "Inverted" option checked.
2. Display State Off
Task options are:
Secure Settings, Configuration, Lock Device
Secure Settings, Configuration, Set Pin
I followed the link that bberryhill0 posted but "WiFi near" wasn't working on my EVO 3D. Maybe not every profile and task will work on every phone, who knows.