Tips to avoid layoffs:
Complete all training on time.
Never argue with any of your co workers and never vocalize your true opinion.
Always put your best effort in your work .
Document everything and if you are struggling on a task seek help.
Never trust anyone.
Try to praise your manager and make them feel as though they are superior.
Volunteer in company sponsored events
Make your self visible but never show all your abilities .
Keep all records updated (Skills Assessments , Resume, etc)
Network , Network Network.. always try to make connections outside of your work group and offer your service to any group if needed.