off your device and try charging... if still not charging turn off your mobile, wash with tap water and slowly brush the charging port and make sure it is totally dry before trying to charge again...
s7/s7 edge is not like the new samsung A series that you can unlock the screen without pressing the home or power button and by just placing your finger on the finger print reader...