I have them same thing on my Z270X Gaming 7,
When I put it in ultra fast boot, the system beeps 5 times when booting, but just boots fine.
So I don't know why it beeps.
But when you turn off fast boot. It doesn't beep 5 times.
There seem to be a some weird boot issues with these boards.