From the Friends list, tap the
.Each Google Account uses its own settings. If you use more than one Google Account on your device, tap the account you want to modify.
Checkmark Away when screen off (or remove the checkmark).
When Away when screen off is checkmarked, your status will automatically be changed to Away when the screen is turned off.