First Change the password of root by executing below command
sudo passwd root
This will ask you enter password. After configuring the password, unlock root user by following command.
sudo passwd -u root
In case if above solution works for you then kindly leave a comment for ensuring the credibility of the solution.