Chosen Solution

i dropped my samsung galaxy s6 edge+ and the screen cracked. but the problem is that when i press the lock button the screen glitches out and mainly stays black. only randomly it will work and actually turn on. does anybody know a solution to what i have done ?

Most likely the screen has to be replaced. This happened when you dropped the phone so that means that it’s most likely physically damaged.