Knock is an interesting app. You install it on your Mac, and on your iPhone ($3.99 for iPhone) and you can knock on your handset to unlock your Mac without entering your password.
It works through Bluetooth. The only downside is that it’s limited to newer Macs, so you may have to wait until your next computer upgrade before you can use it.
Download it here.