Predator is a free utility which turns any USB flash drive into a key, with which you can lock/unlock your PC.

Download Predator