Not sure what the problem is but just got a message from the police saying my computer has been locked.Was unable to shut down properly so pressed the power button when I pressed the power button to turn it back on the same message screen was there.Turned it back on again and tried to use safe start by pressing the F8 button continuously but it was still the same am writing thison my wifes laptop.Can someone advise Thanks
How did you get this message. If by email, did you click on any links?
Meantime, Unplug it from the mains, if a laptop, remove the battery as well > Turn it on (of course it won't, but use the On/Off switch anyway) > Leave it turned on for a couple of minutes > Use to On/Off Switch to turn it off > Replace the battery or plug it back into the mains.
Now try switching it on again, while continuously Tapping either the F8 (or the F5) Button.
Have got rid of it on some PCs by being very fast with task manager at boot and stopping the process that brings up the lock screen and that using malwarebytes to get rid of it all. but as I said before the best and easiest is to use a Kaspersky Rescue Disk