Set window title and locked window size