Self-erecting cranes, i.e. with hoisting gear adapted for crane erection purposes {with locking devices}