Do Patent Rights allow Monopolies in Capitalism?

you can always sign a contract so they cant steal the idea