The miner will decide which transaction they wish to include before they even start to mine and solve the block. When they get the block that corresponds to the target, they cannot change any variable in the block or the whole hash will be changed.
Does it mean once the block is mined with transactions, the same block cannot be mined to add new transactions to it ?
Thanks.