The mould could have simple locking pins that lock it closed for the actual casting operation, and then unlock to remove the part.