It is not true that government employees, including security and police officers are forbidden to leave the country.
They have only been given advice that it might he prudent not to as there have been several cases of agression towards Russian tourists abroad, especially in Turkey, by Europeans.
Russian tourists have been given advice to be careful in Turkey and the EU.