&unlock if($lockkey);
=
if($lockkey) {
  &unlock;
}