go process locking example