Why my display automatic off and on

My phone not charged fastly I have changed the cb board but now when some my screen automatically off but the mobile system is on only display off and then not work fower button to on this and then a few minutes or hours the automatically on the display but screen is lock

Note (when display is automatically off the make sound like fower button fress)

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0