Open file explorer and navigate to this PC
Right click on this Pc and click properties


From the top navigation tab click on Computer Name
Click on the Change button


When the computer is joined to workgroup you will be asked to restart your computer.