Great idea, but I don't want another fob. If it could be made to work with a phone then this would be perfect.
Edit: Sorry, it appears Knock can't actually lock your Mac. Airlock promises that functionality though - so that might be of interest to you.