Auto Action against Non-Complaint System

Auto Action against Non-Complaint System

Is there a way to lock-out/disable a system from being accessed if it is non complainant. 
For Eg - Bitlocker has been disabled