There is a special low power processor that manages this, so it doesn't use much power at all.

However, if you do not like it, settings->active notifications. Turn off the first option, "Active Display". The feature that shows an unlock icon periodically is called "breathing" but turning off active display will stop this. (It will also stop all notifications.)

It's one of my favorite features of this phone. I would never turn it off.