No passcode if at home?
Actually, the basic functionality does not provide this feature.

You can do this by Jaibreaking your device (getting write priviligies to system partition) and installing tweaks like :


AutoProtect
CleverPin