It wouldn't be opened by the captain alone. I don't know about the US procedures, but in the Soviet army/navy the sealed orders would most likely be opened by a trio of the captain, deputy and the 'political officer'; and captain deciding to do otherwise would be a valid reason to remove him from command on the spot, if the other two disagree.