Hi. I’ve a 3b+ as well and experienced random lock ups after updating to the June version. After trial and error it seems to be a kernel issue with the 5.15 version. Reverting to the previous 5.10 version solved the hangs for me.
sudo dpkg-reconfigure rbp2-image-5.10.78-7-osmc