have you tested hdd using hdtune? (get free version). Look at the health tab for any warnings.
Does it do it in safe mode?
go to settings/update & security/recovery
under advanced startup, choose restart now
this loads a blue menu on restart
choose start up options
hit the restart button
choose a safe mode (it doesn't matter which) by using number associated with it.
Pc will restart and load safe mode