check if ticket is locked