When I press the button, the console beeps twice, but the disc doesn't come out.
When I go to "options" in the game, nothing says "Eject disc" or something like that.
What can I do to solve the problem?
Unscrew the PS4 and take out the disc.
And then also clean it directly.
Yup. If there's no option with "eject disc" then it means that the PS4 does not even notice the disc or does not know that there's one inside.
Usually, 2 beeps means there's no disc inside