Freitext unlock/lock bugfix