For licensing reasons this isn't straightforward.
You can get VLC to play pretty much anything - I have no experience with 4k discs, but with regular blu-rays, it required a dynamic library and an encryption key map, and of course then it only supports the discs that there are decryption keys for in the database.
I am going to bet that there exists no free software that allows you to play 4k discs simply. The VLC trick I mentioned before, whilst not strictly speaking illegal, does bypass the licensing in a semi-hacky way. A commercial product would need to have a license to play the discs.