Clean up lockscreen target configuration code