do not call unlock when the lock is not locked; found by millert@
do not call unlock when the lock is not locked; found by millert@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars