Thank you very much. I thought that the workaround was not working in my case because I’m not physically connected to the machine, and when I tried it was asking for the IT password since they are the only ones physically logged into the computer.
After looking at the documentation, here are the steps that worked for me. I hope that this helps others.
ssh to the machine
identify the sessions that belong to you
loginctl unlock-session ####
Try the above command in all your session. Probably there is an easiest way to identify the session that is giving the problems.
The session started with c### in my case.
Verify the nomachine window. Once the right session is found, nomachine will log you in and everything will be working as before.