Turn off iPhone lock on home wifi
Solution 1:
This is not possible if your iPhone is not jailbroken.
If your iPhone is jailbroken, then there are a couple apps that let you disable the passcode on the lock screen when you are connected to your home (or any trusted) WiFi:
AutoProtect
CleverPin