The door normally can be opened before the heating phase or when the height of water in the drum is low (during the first 10 minutes). Try to add more laundry.
Warning: If the door can be opened during a wash or spin cycle, when the washing machine is filled up with water, switch off the power supply to the appliance immediately. Do not use the washing machine until the problem is solved. Contact an Authorized Service Center.