If I shuffle a deck of cards in a way that you don't know about, then the next card I pull is "random" to you even though, obviously, if one were to turn the cards face up nothing would have changed about the order of the cards, but now the next card would be fully deterministic.
I could likewise sort the deck with an algorithm completely unknown to you. I could perfectly predict the next card pulled because I know the algorithm, and yet the next card would still be random for you.
Heisenberg uncertainty principle is more a statement about the limits of knowledge than about "God throwing dice". Randomness often has a supernatural property in the popular mind, but is really just a statement about how much information we have about an event.
The famous Bayesian philosopher ET Jaynes refereed to this tendency to confuse the randomness as a property of the world rather than our mind as the "Mind Projection Fallacy" [0]