There is a UI way of doing this, but sync with the fork will have to be manual
Fork public repository
Go to forked repository settings -> scroll down to the danger zone
Click unlink/detach from the fork
Change visibility to private