Legal to deduct money for unpaid prep time?

My school has a late fee that they charge for teachers who come in late to work. The time that counts for your tardiness begins with the 30 minutes “prep time” that is unpaid. I am wondering how taking away money that one is not even being paid for is allowed by law and whether recovering that stolen money is possible.