I'll just leave these here:
https://en.m.wikipedia.org/wiki/Solid_light
https://newatlas.com/solid-light-quantum-mechanics/33865/
http://www.dailymail.co.uk/sciencetech/article-2433175/Have-scientists-accidentally-created-lightsaber-New-form-matter-discovered-seen-science-fiction.html
https://m.huffpost.com/us/entry/5824268?guccounter=1
Solid light is possible, not sure if its possible in a humanoid but perhaps...
Edit: I have no idea how the solid light can happen, except that quantum mechanics have something to do with it. The sources, should they expire, mention research by professors at (separately) Harvard and Princeton have created ways for light to behave as a solid and a liquid. One article also mentioned that "elsewhere" light is actively being turned into matter and the photons being bonded into simple molecules (Imperial College of Londen and Max Planck institute, https://newatlas.com/experiment-to-turn-light-into-matter/32107/).
The process is also called "macroscopic self-trapping" inside a lattice, where the photons lock themselves into place. The process apparently causes the light to (quantum) entangle itself and start behaving like atoms. The process uses several macroscale objects like 100billion atoms designed to act like a single atom and a superconducting wire carrying Photons. Such events would need to be recreated by the humanoid.
The researchers think that light this way could have very exotic properties, and could be used to simulate both hypothetical unproven particles and proven particles such as superfluids. This would give the OP a lot of leeway in what the humanoid could pull off.
Edit 2: Fun fact, the "magic" in Docter Strange was actually based on this exact method. Matpat isn't the most scientific but he bases it on the works of one in this video: https://www.youtube.com/watch?v=drXGJ3ZZdvc